Package:  synce-hal-bluetooth
Version:  0.13.1-2
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script.  The script uses files in /usr/ and should
depend on $remote_fs.  Also, the $bluetooth and $hal virtual
facilities do not exist.  I suspect you wanted the bluetooth and hal
service instead.  I make these dependencies optional, as the package
do not depend on bluez and hal. The script used to start after the
syslog service was available, and because of this I believe it should
depend on $syslog too.

<URL: 
http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
 >
documents the LSB header format.  Some debian notes are available from
<URL: http://wiki.debian.org/LSBInitScripts >.

This patch should solve the issue.  Without it, the script will start
too early in the boot sequence, and not after the syslog collector,
bluetooth and hal.

diff -ur synce-hal-0.13.1/debian/synce-hal-bluetooth.init 
synce-hal-0.13.1-pere/debian/synce-hal-bluetooth.init
--- synce-hal-0.13.1/debian/synce-hal-bluetooth.init    2009-08-19 
10:12:13.000000000 +0200
+++ synce-hal-0.13.1-pere/debian/synce-hal-bluetooth.init       2009-08-19 
10:14:55.000000000 +0200
@@ -2,8 +2,10 @@

 ### BEGIN INIT INFO
 # Provides:          synce-hal-bluetooth
-# Required-Start:    $bluetooth $hal
-# Required-Stop:     $bluetooth $hal
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Should-Start:      bluetooth hal
+# Should-Stop:       bluetooth hal
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start and stop synce bluetooth

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to