"chkconfig on <service>" fails due to detected loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chkconfig (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: chkconfig
# chkconfig -a bootchart
insserv: warning: script 'S01linux-
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'S10powernowd.
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-
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
PackageArchitec
ProcEnviron:
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: chkconfig
Uname: Linux 2.6.31-13-generic i686
Changed in chkconfig (Ubuntu): | |
status: | New → Confirmed |
status: | Confirmed → Incomplete |
status: | Incomplete → Opinion |
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