[Pkg-utopia-commits] r1664 - in /packages/unstable/hal/debian: changelog hal.init

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Thu Aug 16 07:39:23 UTC 2007


Author: biebl
Date: Thu Aug 16 07:39:22 2007
New Revision: 1664

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1664
Log:
* Check for inotify support in the init script and fail gracefully with a
  proper error message. (Closes: #426049, #434615)

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=1664&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Thu Aug 16 07:39:22 2007
@@ -1,8 +1,9 @@
-hal (0.5.9.1-3) UNRELEASED; urgency=low
-
-  * NOT RELEASED YET
-
- -- Michael Biebl <biebl at debian.org>  Fri, 22 Jun 2007 20:01:14 +0100
+hal (0.5.9.1-3) unstable; urgency=low
+
+  * 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
 
 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=1664&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.init (original)
+++ packages/unstable/hal/debian/hal.init Thu Aug 16 07:39:22 2007
@@ -47,6 +47,11 @@
 
 case "$1" in
   start)
+	if [ ! -d /proc/sys/fs/inotify ]; then
+		log_failure_msg "Not starting $DESC - enable inotify support in your kernel"
+		exit 0
+	fi
+
 	log_daemon_msg "Starting $DESC" "$NAME"
 	do_start
 	log_end_msg $?




More information about the Pkg-utopia-commits mailing list