insserv or update-rc.d or something else?

Berni Elbourn berni at elbournb.fsnet.co.uk
Fri Sep 16 20:03:37 UTC 2011


Hi,

I have a 10.04 lts system which seems to have been a victim of the 
problem described here.

https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/739007

I have used mv to alter the ordering of rc0.d, and rc6.d and the system 
no longer looses data on a clean halt/reboot.

However, is there an official way to fix this please?

I tried:

elbournb at ubuntu:~$ sudo update-rc.d halt defaults
update-rc.d: warning: halt start runlevel arguments (2 3 4 5) do not 
match LSB Default-Start values (none)
update-rc.d: warning: halt stop runlevel arguments (0 1 6) do not match 
LSB Default-Stop values (0)
  Adding system startup for /etc/init.d/halt ...
    /etc/rc0.d/K20halt -> ../init.d/halt
    /etc/rc1.d/K20halt -> ../init.d/halt
    /etc/rc6.d/K20halt -> ../init.d/halt
    /etc/rc2.d/S20halt -> ../init.d/halt
    /etc/rc3.d/S20halt -> ../init.d/halt
    /etc/rc4.d/S20halt -> ../init.d/halt
    /etc/rc5.d/S20halt -> ../init.d/halt

I think that might be worse?? and removed those links. insserv simply 
refuses to work:

elbournb at ubuntu:~$ sudo insserv -r halt
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0) of script `halt' 
overwrites defaults (empty).
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
<snip>
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and pulseaudio if stopped
insserv:  loop involving service pulseaudio 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 rsyslog and pulseaudio if stopped
insserv:  loop involving service bluetooth at depth 2
insserv: exiting now without changing boot order!

ta

Berni




More information about the ubuntu-users mailing list