From 111fab0ac498b3a62428f21e82bee5f8b686a1d0 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Sep 23 2010 21:56:52 +0000 Subject: - try to SIGHUP the messagebus daemon at first install so that it'll let us claim our service name if it isn't restarted before we are first started (same as #636876) --- diff --git a/oddjob.spec b/oddjob.spec index 62fd32d..e6b4180 100644 --- a/oddjob.spec +++ b/oddjob.spec @@ -3,7 +3,7 @@ Name: oddjob Version: 0.30.2 -Release: 1%{?dist} +Release: 2%{?dist} Source: http://fedorahosted.org/released/oddjob/oddjob-%{version}.tar.gz Summary: A D-Bus service which runs odd jobs on behalf of client applications License: BSD @@ -127,6 +127,9 @@ rm -fr "$RPM_BUILD_ROOT" %endif %post +if test $1 -eq 1 ; then + killall -HUP dbus-daemon 2>&1 > /dev/null +fi /sbin/chkconfig --add oddjobd %postun @@ -154,6 +157,11 @@ fi exit 0 %changelog +* Thu Sep 23 2010 Nalin Dahyabhai 0.30.2-2 +- try to SIGHUP the messagebus daemon at first install so that it'll + let us claim our service name if it isn't restarted before we are + first started (same as #636876) + * Thu Sep 16 2010 Nalin Dahyabhai 0.30.2-1 - don't try to "close" our shared connection to the bus when the bus hangs up on us -- at some point libdbus started abort()ing when we try