summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@debian.org>2007-11-17 12:47:15 +0000
committerSjoerd Simons <sjoerd@debian.org>2007-11-17 12:47:15 +0000
commit69f3b806574266f2251567ee4070167fb6572e23 (patch)
tree64fc47256f3fc6cbc3a89bb54ebf78d038c7c7da /debian
parent4538c27facda4ed8d2f017b9f474410afdd5b4c4 (diff)
downloaddbus-69f3b806574266f2251567ee4070167fb6572e23.tar.gz
* debian/dbus.init
- Warn if /proc isn't mounted and refuse to start (Closes: #431101, #447363) git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/dbus@1864 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/dbus.init6
2 files changed, 12 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index c78f8216..1faf75a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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.
@@ -13,6 +14,10 @@ dbus (1.1.2-1) unstable; urgency=low
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@debian.org> Wed, 14 Nov 2007 18:08:42 +0100
dbus (1.1.1-3) unstable; urgency=low
diff --git a/debian/dbus.init b/debian/dbus.init
index 05cc8bc6..590287cb 100644
--- a/debian/dbus.init
+++ b/debian/dbus.init
@@ -96,6 +96,12 @@ start_it_up()
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