[Pkg-utopia-commits] r1665 - in /packages/unstable/hal/debian: changelog hal.init
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Thu Aug 16 08:01:06 UTC 2007
Author: biebl
Date: Thu Aug 16 08:01:06 2007
New Revision: 1665
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1665
Log:
* Check if dbus is running in the init script and fail gracefully with a
proper error message. (Closes: #426420, #427332)
Modified:
packages/unstable/hal/debian/changelog
packages/unstable/hal/debian/hal.init
Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=1665&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Thu Aug 16 08:01:06 2007
@@ -2,8 +2,10 @@
* Check for inotify support in the init script and fail gracefully with a
proper error message. (Closes: #426049, #434615)
-
- -- Michael Biebl <biebl at debian.org> Thu, 16 Aug 2007 09:22:31 +0200
+ * Check if dbus is running in the init script and fail gracefully with a
+ proper error message. (Closes: #426420, #427332)
+
+ -- Michael Biebl <biebl at debian.org> Thu, 16 Aug 2007 09:57:24 +0200
hal (0.5.9.1-2) unstable; urgency=low
Modified: packages/unstable/hal/debian/hal.init
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.init?rev=1665&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.init (original)
+++ packages/unstable/hal/debian/hal.init Thu Aug 16 08:01:06 2007
@@ -48,7 +48,11 @@
case "$1" in
start)
if [ ! -d /proc/sys/fs/inotify ]; then
- log_failure_msg "Not starting $DESC - enable inotify support in your kernel"
+ log_failure_msg "Can't start $DESC - enable inotify support in your kernel"
+ exit 0
+ fi
+ if [ ! -e /var/run/dbus/system_bus_socket ]; then
+ log_failure_msg "Can't start $DESC - please ensure dbus is running"
exit 0
fi
More information about the Pkg-utopia-commits
mailing list