Package: webgui Version: 7.5.17-1 Severity: important Tags: patch User: [email protected] Usertags: incorrect-dependency
With dependency based boot sequencing, I discovered what I believe is a bug in the init.d scripts. The script depend on a non-existing virtual facility $apache. I suspect it want to depend on the apache2 facility provided by the apache packages instead. Also, the script should depend on $remote_fs as it uses files in /usr/, $network as it set up a network service, and $syslog because it used to start after syslog with the legacy ordering. <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 to early during boot, before the apache server is operational. diff -ur ../webgui-7.6.35.2/debian/webgui.init ../webgui-7.6.35.2-pere/debian/webgui.init --- ../webgui-7.6.35.2/debian/webgui.init 2009-09-20 21:10:18.000000000 +0200 +++ ../webgui-7.6.35.2-pere/debian/webgui.init 2009-09-20 21:12:30.000000000 +0200 @@ -6,10 +6,10 @@ # ### BEGIN INIT INFO # Provides: webgui -# Required-Start: $apache -# Required-Stop: $apache -# Should-Start: -# Should-Stop: +# Required-Start: $network $remote_fs $syslog +# Required-Stop: $network $remote_fs $syslog +# Should-Start: apache2 +# Should-Stop: apache2 # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Startup WebGUI's Spectre daemon Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

