[Bug 918943] [NEW] erroneous error message from update-rc.d

teamnoir 918943 at bugs.launchpad.net
Thu Jan 19 22:07:21 UTC 2012


Public bug reported:

Create an init file which includes:

### BEGIN INIT INFO
# Default-Start:     3 4 5
# Default-Stop:      0 1 2 6
### END INIT INFO

Then update-rc.d it.

On ubuntu-11.10, I get:

+ update-rc.d za-dc-d defaults
update-rc.d: warning: za-dc-d start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)
update-rc.d: warning: za-dc-d stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6)

Note that "345" is the start levels set in za-dc-d, not "2 3 4 5", which
are apparently the LSB Default values.

It would appear as though both warning messages have their values
reversed.  And indeed, changing my init file to "2 3 4 5" makes the
warning go away.

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/918943

Title:
  erroneous error message from update-rc.d

Status in “sysvinit” package in Ubuntu:
  New

Bug description:
  Create an init file which includes:

  ### BEGIN INIT INFO
  # Default-Start:     3 4 5
  # Default-Stop:      0 1 2 6
  ### END INIT INFO

  Then update-rc.d it.

  On ubuntu-11.10, I get:

  + update-rc.d za-dc-d defaults
  update-rc.d: warning: za-dc-d start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)
  update-rc.d: warning: za-dc-d stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6)

  Note that "345" is the start levels set in za-dc-d, not "2 3 4 5",
  which are apparently the LSB Default values.

  It would appear as though both warning messages have their values
  reversed.  And indeed, changing my init file to "2 3 4 5" makes the
  warning go away.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/918943/+subscriptions




More information about the foundations-bugs mailing list