Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init script needs "Default-Start" on SuSE 11 #9

Closed
GoogleCodeExporter opened this issue May 15, 2015 · 4 comments
Closed

Init script needs "Default-Start" on SuSE 11 #9

GoogleCodeExporter opened this issue May 15, 2015 · 4 comments
Labels
Milestone

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

I removed the LSB Default-Start & Default-Stop lines in svn:r737 / 18c02a6 to prevent munged from starting by default at installation. I'll recheck the packaging guidelines from the various distros to see what the current consensus is.

Original comment by chris.m.dunlap on 24 Aug 2011 at 12:12

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

This is also a problem on openSUSE 12.1

Original comment by chris.m.dunlap on 3 Feb 2012 at 9:57

@GoogleCodeExporter
Copy link
Author

Original comment by chris.m.dunlap on 6 Feb 2012 at 8:18

  • Added labels: Milestone-0.5.11

@GoogleCodeExporter
Copy link
Author

This issue was closed by 6b884f0.

Original comment by chris.m.dunlap on 4 Dec 2012 at 9:36

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants