[Bug 918943] Re: erroneous error message from update-rc.d
Steve Langasek
steve.langasek at canonical.com
Fri May 17 22:14:57 UTC 2013
>From the manpage:
If defaults is used then update-rc.d will make links to start the ser‐
vice in runlevels 2345 and to stop the service in runlevels 016.
This is inconsistent with the LSB Default-Start, Default-Stop values in your init script, but update-rc.d *will* set the values to those specified by the definition of 'defaults'. So the error message is correct.
** Changed in: sysvinit (Ubuntu)
Status: New => Invalid
--
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:
Invalid
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