update-rc.d issues warnings during upgrade from 11.0 RC to 11.0

Reported by Dude4Linux on 2011-01-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TurnKey Linux
Fix Released
Low
Alon Swartz
11.x
Fix Committed
Undecided
Unassigned
12.x
Fix Released
Low
Alon Swartz

Bug Description

The following warnings were noted during the upgrade from 11.0 RC to 11.0.

update-rc.d: warning: /etc/init.d/webmin missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
update-rc.d: warning: confconsole start runlevel arguments (2) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: confconsole stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
update-rc.d: warning: di-live start runlevel arguments (S) do not match LSB Default-Start values (1)
update-rc.d: warning: inithooks start runlevel arguments (2) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: inithooks stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)

It would seem that some Turnkey packages are inconsistent in the specification of runlevel arguments.
See http://piuparts.debian.org/sid/initdscript_lsb_header_issue.html
and http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

I wish I understood better the conversion to LSB init scripts so I could do more than just point out the warnings.

Dude4Linux (dude4linux) wrote :

I did some more investigation to see if these errors were significant. Unlike Redhat/Fedora/CentOS, Debian and Ubuntu treat runlevels 2-5 as equivalent, so technically there is no problem here. The first warning about missing LSB information indicates that the init info block is missing from /etc/init.d/webmin. The remaining warnings are just update-rc.d noting that the init scripts are being installed with runlevels different than those specified in the LSB.

I installed chkconfig which displayed the following results:

# chkconfig --list webmin confconsole di-live inithooks
webmin 0:off 1:off 2:on 3:off 4:off 5:off 6:off
confconsole 0:off 1:off 2:on 3:off 4:off 5:off 6:off
di-live 0:off 1:off 2:off 3:off 4:off 5:off 6:off S:on
inithooks 0:off 1:off 2:on 3:off 4:off 5:off 6:off

From the man page,
EXAMPLES
       Insert links using the defaults:
          update-rc.d foobar defaults
       The equivalent dependency header would have start and stop
       dependencies on $remote_fs and $syslog, and start in
       runlevels 2-5 and stop in runlevels 0, 1 and 6.
       Equivalent command using explicit argument sets:
          update-rc.d foobar start 20 2 3 4 5 . stop 20 0 1 6 .
       More typical command using explicit argument sets:
          update-rc.d foobar start 30 2 3 4 5 . stop 70 0 1 6 .

Changed in turnkeylinux:
importance: Undecided → Low
Changed in turnkeylinux:
status: New → Confirmed
Alon Swartz (alonswartz) on 2012-02-27
Changed in turnkeylinux:
assignee: nobody → Alon Swartz (alonswartz)
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers