dun/munge

Init script needs "Default-Start" on SuSE 11

Closed this issue · 0 comments

I built RPMs from the latest release (0.5.10). When I tried to install them, it failed when trying to enable the service for startup. Manually trying to turn on the service, it also failed:

# chkconfig munge on
insserv: Script munge is broken: incomplete LSB comment.
insserv: missing `Default-Start:'  entry: please add even if empty.
insserv: exiting now!
/sbin/insserv failed, exit code 1

The OpenSuSE packaging guide (https://en.opensuse.org/openSUSE:Packaging_init_scripts) implies that we need to add a Default-Start and Default-Stop line.

I'm not sure what the "defaults" should be, but adding something like:

# Default-Start:      2 3 5
# Default-Stop:

between the ### BEGIN INIT INFO and ### END INIT INFO lines seems to fix the problem.

Original issue reported on code.google.com by matt@mattezell.com on 23 Aug 2011 at 7:34