[Pkg-utopia-commits] r1864 - in /packages/unstable/dbus/debian: changelog dbus.init

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Sat Nov 17 12:47:15 UTC 2007


Author: sjoerd
Date: Sat Nov 17 12:47:15 2007
New Revision: 1864

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1864
Log:
* debian/dbus.init
  - Warn if /proc isn't mounted and refuse to start (Closes: #431101, #447363)

Modified:
    packages/unstable/dbus/debian/changelog
    packages/unstable/dbus/debian/dbus.init

Modified: packages/unstable/dbus/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/changelog?rev=1864&op=diff
==============================================================================
--- packages/unstable/dbus/debian/changelog (original)
+++ packages/unstable/dbus/debian/changelog Sat Nov 17 12:47:15 2007
@@ -1,5 +1,6 @@
-dbus (1.1.2-1) unstable; urgency=low
-
+dbus (1.1.2-1) UNRELEASED; urgency=low
+
+  [ Michael Biebl ]
   * New upstream release.
   * debian/control
     - Use the new "Homepage:" field to specify the upstream URL.
@@ -12,6 +13,10 @@
     - Install the dbus-daemon-launch-helper binary SUID root and make it
       executable for the messagebus group.
     - General cleanup. Remove superfluous addgroup and chgrp call.
+
+  [ Sjoerd Simons ]
+  * debian/dbus.init
+    - Warn if /proc isn't mounted and refuse to start (Closes: #431101, #447363)
 
  -- Michael Biebl <biebl at debian.org>  Wed, 14 Nov 2007 18:08:42 +0100
 

Modified: packages/unstable/dbus/debian/dbus.init
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/dbus.init?rev=1864&op=diff
==============================================================================
--- packages/unstable/dbus/debian/dbus.init (original)
+++ packages/unstable/dbus/debian/dbus.init Sat Nov 17 12:47:15 2007
@@ -96,6 +96,12 @@
     chown $DAEMONUSER $PIDDIR
     chgrp $DAEMONUSER $PIDDIR
   fi
+
+  if [ ! -e /proc/filesystems ] ; then
+    log_failure_msg "Can't start $DESC - /proc is not mounted"
+    return
+  fi
+
   if [ -e $PIDFILE ]; then
     PIDDIR=/proc/$(cat $PIDFILE)
     if [ -d ${PIDDIR} -a  "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then 




More information about the Pkg-utopia-commits mailing list