init script fails if NO_START="yes"

Bug #277393 reported by Brian Murray
Affects Status Importance Assigned to Milestone
mediatomb (Ubuntu)

Bug Description

Binary package hint: mediatomb

If NO_START="yes" is set in /etc/default/mediatomb, then the init script for mediatomb exits and only returns a message if the command is 'start'. However, it is possible that one might want to stop mediatomb after setting NO_START="yes" and one can't.

I noticed this on Hardy Heron using mediatomb package version:


Changed in mediatomb:
importance: Undecided → Low
Revision history for this message
Bertrand Croq (bcroq) wrote :

Now that mediatomb uses upstart, the problem is that NO_START is not used anymore... I had to change the /etc/init/mediatomb file so the NO_START value is checked just after sourcing the /etc/default/mediatomb file:

        [ -r $DEFAULT ] && . $DEFAULT
        [ $NO_START = yes ] && exit 0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers