[Pkg-utopia-commits] r2078 - in /packages/unstable/dbus/debian: changelog dbus.postinst rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Mon Feb 18 13:52:57 UTC 2008


Author: lool
Date: Mon Feb 18 13:52:57 2008
New Revision: 2078

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2078
Log:
Also deal with stop priorities

Modified:
    packages/unstable/dbus/debian/changelog
    packages/unstable/dbus/debian/dbus.postinst
    packages/unstable/dbus/debian/rules

Modified: packages/unstable/dbus/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/changelog?rev=2078&op=diff
==============================================================================
--- packages/unstable/dbus/debian/changelog (original)
+++ packages/unstable/dbus/debian/changelog Mon Feb 18 13:52:57 2008
@@ -31,9 +31,10 @@
     - Decrease retry-time to 5 secs on stop. (Closes: #462182)
 
   [ Loic Minier ]
-  * Start dbus at runlevel priority 12.  This eliminates the race condition of
-    starting the X session before hal is running.  Migrate rc?.d symlinks from
-    20 to 12 on upgrades.  This need to be kept until after lenny is released.
+  * Start dbus at runlevel priority 12 and stop at priority 88.  This
+    eliminates the race condition of starting the X session before hal is
+    running.  Migrate rc?.d symlinks from 20 to 12/88 on upgrades.  This need
+    to be kept until after lenny is released.
   * Set LSB Default-Stop section to 1 to only stop dbus when going down to
     single user mode; dbus can simply be killed like everything else on
     shutdown or reboot by sendsigs.

Modified: packages/unstable/dbus/debian/dbus.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/dbus.postinst?rev=2078&op=diff
==============================================================================
--- packages/unstable/dbus/debian/dbus.postinst (original)
+++ packages/unstable/dbus/debian/dbus.postinst Mon Feb 18 13:52:57 2008
@@ -43,6 +43,13 @@
             mv $old $new
         fi
     done
+    for l in 0 1 6; do
+        old=/etc/rc$l.d/K20dbus
+        new=/etc/rc$l.d/K88dbus
+        if [ -e $old ] && ! [ -e $new ]; then
+            mv $old $new
+        fi
+    done
 fi
 
 #DEBHELPER#

Modified: packages/unstable/dbus/debian/rules
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/rules?rev=2078&op=diff
==============================================================================
--- packages/unstable/dbus/debian/rules (original)
+++ packages/unstable/dbus/debian/rules Mon Feb 18 13:52:57 2008
@@ -18,7 +18,7 @@
 	--enable-doxygen-docs \
 	--disable-userdb-cache
 
-DEB_UPDATE_RCD_PARAMS += defaults 12 20
+DEB_UPDATE_RCD_PARAMS += defaults 12 88
 
 binary-post-install/dbus-x11::
 	mkdir -p debian/dbus-x11/etc/X11/Xsession.d




More information about the Pkg-utopia-commits mailing list