Package: avr-evtd Version: 1.7.2-1 Severity: important Tags: patch User: [email protected] Usertags: incorrect-dependency incorrect-runlevels
With dependency based boot sequencing, I discovered what I believe is a bug in the init.d script. The dependencies are not correct. The daemon need /usr/ to be mounted, and thus need to depend on $remote_fs both during boot and shutdown. It also uses syslog, and should depend on $syslog. The runlevel list in the header do not match the ones used in the call to update-rc.d. I found it strange that it should not start in runlevels 3-5 and not stop in runlevel 1, but assume that is correct. <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 init.d will start to early in the boot sequence, and start in runlevels 1 and 3 to 5. diff -ur avr-evtd-1.7.3/Install/avr_evtd.init avr-evtd-1.7.3-pere/Install/avr_evtd.init --- avr-evtd-1.7.3/Install/avr_evtd.init 2008-09-19 06:11:25.000000000 +0200 +++ avr-evtd-1.7.3-pere/Install/avr_evtd.init 2009-08-13 21:23:54.000000000 +0200 @@ -15,9 +15,9 @@ ### BEGIN INIT INFO # Provides: avr-evtd -# Required-Start: -# Required-Stop: -# Default-Start: 1 2 3 4 5 +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 # Default-Stop: 0 6 # Short-Description: Linkstation/Kurobox AVR watchdog daemon ### END INIT INFO Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

