Ubuntu

"chkconfig on <service>" fails due to detected loop

Reported by alcCapone on 2009-10-13
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
chkconfig (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: chkconfig

# chkconfig -a bootchart
insserv: warning: script 'S01linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'S10powernowd.early' missing LSB tags and overrides
insserv: warning: script 'bootchart' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: warning: script 'statd' missing LSB tags and overrides
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: current stop runlevel(s) (1) of script `nvidia-kernel' overwrites defaults (empty).
insserv: warning: script 'sreadahead' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
insserv: warning: script 'portmap' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'gssd' missing LSB tags and overrides
insserv: warning: current stop runlevel(s) (1) of script `policykit' overwrites defaults (empty).
insserv: warning: script 'linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'kdm' missing LSB tags and overrides
insserv: script kdm: service kdm already provided!
insserv: warning: script 'powernowd.early' missing LSB tags and overrides
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: script 'rpc_pipefs' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: script 'idmapd' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and hwclock if stopped
insserv: loop involving service hwclock at depth 4
insserv: loop involving service sysklogd at depth 3
insserv: There is a loop between service rsyslog and hal if stopped
insserv: loop involving service hal at depth 4
insserv: loop involving service x-display-manager at depth 3
insserv: There is a loop between service hwclock and sysklogd if started
insserv: loop involving service sysklogd at depth 2
insserv: loop involving service hwclock at depth 1
insserv: There is a loop between service hwclock and sysklogd if stopped
insserv: loop involving service rsyslog at depth 5
insserv: loop involving service rsyslog at depth 1
insserv: There is a loop between service rsyslog and hal if stopped
insserv: loop involving service pulseaudio at depth 7
insserv: There is a loop between service hal and x-display-manager if stopped
insserv: loop involving service udev at depth 8
insserv: exiting without changing boot order!
/sbin/insserv failed, exit code 1
bootchart 0:off 1:off 2:off 3:off 4:off 5:off 6:off

ProblemType: Bug
Architecture: i386
Date: Tue Oct 13 19:06:06 2009
DistroRelease: Ubuntu 9.10
Package: chkconfig 11.0-79.1-1ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.45-generic
SourcePackage: chkconfig
Uname: Linux 2.6.31-13-generic i686

alcCapone (alcc) wrote :
pauljohn32 (pauljohn32) wrote :

I had this problem too. I do not understand it, but I believe I have a possible fix. On my system, this loop harassment was caused by unpurged configurations from previous version of Ubuntu or removed packages. Open up synaptic, choose the status listing, and then the resitual configuration for removed packages. I had about 150 of them, and found the shift-click method can select a whole block for removal. After that, the loop errors were solved.

The warnings about missing lsb values were still there, but those really are just warnings that remind developers that they are not up-to-date in writing their scripts.

But the loop thing does go away (for me, at least) on one system.

pj

frederic sivan (frederic-sivan) wrote :

I've got the same problem on my fresh new laptop just reinstalled (not upgraded) with 9.10

# chkconfig --add tomcat
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'tomcat' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
insserv: warning: script 'failsafe-x' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty).
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty).
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty).
insserv: warning: script 'dmesg' missing LSB tags and overrides
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty).
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty).
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: script 'gdm' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and apache2 if stopped
insserv: loop involving service apache2 at depth 3
insserv: loop involving service rsyslog at depth 2
insserv: loop involving service udev at depth 1
insserv: There is a loop between service apache2 and rsyslog if stopped
insserv: exiting without changing boot order!
/sbin/insserv failed, exit code 1
tomcat 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Adam Nelson (adam-varud) wrote :

The warnings about missing lsb values are for packages that have been ported to Upstart. The message could be much more clear and succinct for the user that the service is no longer monitored/managed by chkconfig and that the user should work with the upstart script and the initctl program.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions