~hpcstack/hpcstack-conman/master

Viewing all changes in revision 501.

  • Committer: Chris Dunlap
  • Author(s): Wendy Palm
  • Date: 2012-12-06 00:17:14 UTC
  • Revision ID: git-v1:9c42719e1e5322b9ba4e00b07e9af9e412565cea
add Default-Start & Default-Stop to LSB header

Add an empty Default-Start and Default-Stop line to the LSB Header
in order to prevent chkconfig from complaining:

  insserv: script conman is broken: incomplete LSB comment.
  insserv: missing `Default-Start:'  entry: please add even if empty.

In regards to these missing LSB Header entries, both the Fedora and
openSUSE packaging guides state:

  https://fedoraproject.org/wiki/Packaging:SysVInitScript
  http://en.opensuse.org/openSUSE:Packaging_init_scripts

  Only services which are really required for a vital system should
  define runlevels here. If the service does not start by default in
  any runlevel, this line should be omitted.

But omitting these lines causes chkconfig on openSUSE to complain.
Adding lines for Default-Start and Default-Stop silences these
warnings.

Both of these entries are empty (ie, no runlevels are specified)
since ConMan is not started by default in any runlevel.  This behavior
matches the chkconfig line as required.

While the missing entries did not cause problems on Fedora or Red Hat,
adding empty entries did not create any problems.

Tested on:
- Fedora 17
- openSUSE 12.2
- RHEL 6, 5

Fixes issue 14.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: