On Wed, Mar 24, 2010 at 07:54:17AM +0100, Petter Reinholdtsen wrote: > Hi. How exactly was this machine migrated to dependency based boot > sequencing?
As far as I remember, I installed sysv-rc and sysv-rc-conf and removed (purged?) file-rc in the same aptitude run. I might have inspected (changed?) the runlevel stuff with sysv-rc-conf, I don't remember. > The migration was not done correctly. Do you have the file > /etc/init.d/.legacy-bootordering? No, I don't have that file. > If so, try dpkg-reconfigure sysv-rc to redo the migration. I did that before filing this bug. > Try this script fragment from sysv-rc.postinst if it isn't possible to > do the migration using dpkg-reconfigure. > > convert_rc_s_to_k() { > runlevel=$1 > for link in $(cd $target/etc/rc$runlevel.d; ls S* || true); do > set `echo $link|sed "s%S\(..\)\(.*\)%\1 \2%"` > seq=$1 > service=$2 > mv $target/etc/rc$runlevel.d/$link > $target/etc/rc$runlevel.d/K$seq$service > done > } > convert_rc_s_to_k 0 > convert_rc_s_to_k 6 > > When it is done, run insserv again to get the correct shutdown > sequence. This looks better now, see attachment. I still don't know what went wrong here though. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
[1/500]r...@swivel:~$ convert_rc_s_to_k() { > runlevel=$1 > for link in $(cd $target/etc/rc$runlevel.d; ls S* || true); do > set `echo $link|sed "s%S\(..\)\(.*\)%\1 \2%"` > seq=$1 > service=$2 > mv $target/etc/rc$runlevel.d/$link > $target/etc/rc$runlevel.d/K$seq$service > done > > } > [5/504]r...@swivel:~$ convert_rc_s_to_k 0 [6/505]r...@swivel:~$ convert_rc_s_to_k 6 [7/506]r...@swivel:~$ insserv insserv: warning: script 'S24radeontool' missing LSB tags and overrides insserv: warning: current stop runlevel(s) (0 6) of script `pcmciautils' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (5) of script `sudo' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (0 1 5 6) of script `ifupdown-scripts-zg2' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (0 1 6) of script `sysfsutils' overwrites defaults (empty). insserv: warning: script 'radeontool' missing LSB tags and overrides insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `ssh' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (0 1 6) of script `cpufrequtils' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (5) of script `loadcpufreq' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (5) of script `dbus' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (0 1 6) of script `acpid' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (0 1 5 6) of script `binfmt-support' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (1 5) of script `rsync' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (0 1 6) of script `ntp' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (5) of script `bootlogs' overwrites defaults (empty). insserv: warning: current stop runlevel(s) (0 6) of script `hdparm' overwrites defaults (empty). [8/507]r...@swivel:~$ ls -al /etc/rc0.d/ | grep umount lrwxrwxrwx 1 root root 22 29. Mär 13:30 K07umountnfs.sh -> ../init.d/umountnfs.sh lrwxrwxrwx 1 root root 18 29. Mär 13:30 K09umountfs -> ../init.d/umountfs lrwxrwxrwx 1 root root 20 29. Mär 13:30 K11umountroot -> ../init.d/umountroot [9/508]r...@swivel:~$ ls -al /etc/rc6.d/ | grep umount lrwxrwxrwx 1 root root 22 29. Mär 13:30 K07umountnfs.sh -> ../init.d/umountnfs.sh lrwxrwxrwx 1 root root 18 29. Mär 13:30 K09umountfs -> ../init.d/umountfs lrwxrwxrwx 1 root root 20 29. Mär 13:30 K11umountroot -> ../init.d/umountroot [10/509]r...@swivel:~$