From: Petter Reinholdtsen Date: Sat, 3 Oct 2009 05:13:42 +0000 (+1300) Subject: Fix the dependencies in the init.d file. X-Git-Tag: debian-sid-0.9.2-2~7 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46986cb58a16eeac4fb5e69f10a60206f184621;p=mythtv-status.git Fix the dependencies in the init.d file. With dependency based boot sequencing, I discovered what I believe is a bug in the init.d scripts. The script uses files in /usr/, and should depend on $remote_fs. Further, the script depend on the non-existing facility $mythtv-backend. This do not exist in the Debian archive as far as I can see, and I suspect it should be some facility provided by the mythtv scripts. I suggest changing this to not be a virtual facility and to make the dependency optional to avoid being unable to install the script when the facility is not available. The stop dependencies should probably be the same as the start facilities. documents the LSB header format. Some debian notes are available from . --- diff --git a/debian/changelog b/debian/changelog index f40675e..87b7630 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ mythtv-status (0.9.2-2) lenny; urgency=low * Basque debconf translation from Piarres Beobide (Closes: #539906). * Czech debconf translation from Martin Å Ã (Closes: #535914). * Russian debconf translation from Yuri Kozlov (Closes: #546347). + * Correct the init.d dependencies from Petter Reinholdtsen (Closes: #547558). -- Andrew Ruthven Fri, 04 Sep 2009 10:15:04 +1200 diff --git a/debian/init.d b/debian/init.d index 1755382..e077a69 100644 --- a/debian/init.d +++ b/debian/init.d @@ -19,10 +19,10 @@ # ### BEGIN INIT INFO # Provides: mythtv-status -# Required-Start: $mythtv-backend -# Required-Stop: -# Should-Start: $named -# Should-Stop: +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Should-Start: $named mythtv-backend +# Should-Stop: $named mythtv-backend # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Update the MOTD with the MythTV status