2009/8/21 Petter Reinholdtsen <span dir="ltr">&lt;<a href="mailto:pere@hungry.com" target="_blank">pere@hungry.com</a>&gt;</span><div class="im"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


[Alan Guo]<br>
<div>&gt; I&#39;ve install insserv and current /usr/share/insserv/check-initd-order is<br>
&gt;  blueice2:~# /usr/share/insserv/check-initd-order<br>
&gt; error: LSB header missing in /etc/rcS.d/S20libdevmapper1.02<br>
<br>
</div>This show at least that no scripts have a boot sequence in conflict<br>
with their dependencies, which is good.<br>
<div><br>
&gt; insserv: dryrun, not creating .depend.boot, .depend.start, and<br>
&gt; .depend.stop<br>
<br>
</div>This indicated that the boot sequence have been ordered using<br>
dependencies earlier or is currenty in effect (if not, a lot more<br>
changes would have been proposed).  As far as I could tell, the boot<br>
sequence is mostly OK on your machine.  I am a bit surprised, as I<br>
would expect more changes compared to the list you sent earlier about<br>
the content in /etc/rcS.d/.  Can you send the output from &#39;ls<br>
/etc/rcS.d&#39; now?</blockquote><div> </div></div><div>In you previous  mail, you told me to run &#39;/usr/share/insserv/check-initd-order&#39; and &#39;insserv -vn&#39;, so i installed insserv. when installing insserv, boot orders was changed to current status.</div>


<div><br></div><div>my current &#39; ls /etc/rcS.d&#39; is </div><div>lrwxrwxrwx   1 root root    27 2008-09-07 K20console-screen.sh -&gt; ../init.d/console-screen.sh<br>-rw-r--r--   1 root root   783 2007-12-23 README<br>


lrwxrwxrwx   1 root root    21 08-20 23:30 S01hostname.sh -&gt; ../init.d/hostname.sh<br>lrwxrwxrwx   1 root root    24 08-20 23:30 S01mountkernfs.sh -&gt; ../init.d/mountkernfs.sh<br>lrwxrwxrwx   1 root root    14 08-20 23:30 S02udev -&gt; ../init.d/udev<br>


lrwxrwxrwx   1 root root    26 08-20 23:30 S03mountdevsubfs.sh -&gt; ../init.d/mountdevsubfs.sh<br>lrwxrwxrwx   1 root root    21 08-20 23:30 S03pcmciautils -&gt; ../init.d/pcmciautils<br>lrwxrwxrwx   1 root root    16 08-20 23:30 S03procps -&gt; ../init.d/procps<br>


lrwxrwxrwx   1 root root    18 08-20 23:30 S04bootlogd -&gt; ../init.d/bootlogd<br>lrwxrwxrwx   1 root root    25 08-20 23:30 S04hwclockfirst.sh -&gt; ../init.d/hwclockfirst.sh<br>lrwxrwxrwx   1 root root    14 08-20 23:30 S04lvm2 -&gt; ../init.d/lvm2<br>


lrwxrwxrwx   1 root root    19 08-20 23:30 S05keymap.sh -&gt; ../init.d/keymap.sh<br>lrwxrwxrwx   1 root root    24 08-20 23:30 S06keyboard-setup -&gt; ../init.d/keyboard-setup<br>lrwxrwxrwx   1 root root    22 08-20 23:30 S07checkroot.sh -&gt; ../init.d/checkroot.sh<br>


lrwxrwxrwx   1 root root    20 08-20 23:30 S08hwclock.sh -&gt; ../init.d/hwclock.sh<br>lrwxrwxrwx   1 root root    24 08-20 23:30 S08ifupdown-clean -&gt; ../init.d/ifupdown-clean<br>lrwxrwxrwx   1 root root    27 08-20 23:30 S08module-init-tools -&gt; ../init.d/module-init-tools<br>


lrwxrwxrwx   1 root root    17 08-20 23:30 S08mtab.sh -&gt; ../init.d/mtab.sh<br>lrwxrwxrwx   1 root root    19 08-20 23:30 S08udev-mtab -&gt; ../init.d/udev-mtab<br>lrwxrwxrwx   1 root root    20 08-20 23:30 S09checkfs.sh -&gt; ../init.d/checkfs.sh<br>


lrwxrwxrwx   1 root root    21 08-20 23:30 S10mountall.sh -&gt; ../init.d/mountall.sh<br>lrwxrwxrwx   1 root root    24 08-20 23:30 S10selinux-basics -&gt; ../init.d/selinux-basics<br>lrwxrwxrwx   1 root root    31 08-20 23:30 S11mountall-bootclean.sh -&gt; ../init.d/mountall-bootclean.sh<br>


lrwxrwxrwx   1 root root    26 08-20 23:30 S12mountoverflowtmp -&gt; ../init.d/mountoverflowtmp<br>lrwxrwxrwx   1 root root    19 08-20 23:30 S13dns-clean -&gt; ../init.d/dns-clean<br>lrwxrwxrwx   1 root root    18 08-20 23:30 S13ebtables -&gt; ../init.d/ebtables<br>


lrwxrwxrwx   1 root root    25 08-20 23:30 S13policycoreutils -&gt; ../init.d/policycoreutils<br>lrwxrwxrwx   1 root root    19 08-20 23:30 S13policykit -&gt; ../init.d/policykit<br>lrwxrwxrwx   1 root root    18 08-20 23:30 S13pppd-dns -&gt; ../init.d/pppd-dns<br>


lrwxrwxrwx   1 root root    20 08-20 23:30 S13resolvconf -&gt; ../init.d/resolvconf<br>lrwxrwxrwx   1 root root    17 08-20 23:30 S13urandom -&gt; ../init.d/urandom<br>lrwxrwxrwx   1 root root    20 08-20 23:30 S13x11-common -&gt; ../init.d/x11-common<br>


lrwxrwxrwx   1 root root    18 08-20 23:30 S14ifupdown -&gt; ../init.d/ifupdown<br>lrwxrwxrwx   1 root root    20 08-20 23:30 S15networking -&gt; ../init.d/networking<br>lrwxrwxrwx   1 root root    21 08-20 23:30 S16mountnfs.sh -&gt; ../init.d/mountnfs.sh<br>


lrwxrwxrwx   1 root root    31 08-20 23:30 S17mountnfs-bootclean.sh -&gt; ../init.d/mountnfs-bootclean.sh<br>lrwxrwxrwx   1 root root    23 08-20 23:30 S18console-setup -&gt; ../init.d/console-setup<br>lrwxrwxrwx   1 root root    20 08-20 23:30 S19alsa-utils -&gt; ../init.d/alsa-utils<br>


lrwxrwxrwx   1 root root    21 08-20 23:30 S19bootmisc.sh -&gt; ../init.d/bootmisc.sh<br>lrwxrwxrwx   1 root root    14 08-20 23:30 S19fuse -&gt; ../init.d/fuse<br>lrwxrwxrwx   1 root root    26 08-20 23:30 S19libdevmapper1.02 -&gt; ../init.d/libdevmapper1.02<br>


lrwxrwxrwx   1 root root    20 08-20 23:30 S19lm-sensors -&gt; ../init.d/lm-sensors<br>lrwxrwxrwx   1 root root    24 08-20 23:30 S19screen-cleanup -&gt; ../init.d/screen-cleanup<br>lrwxrwxrwx   1 root root    14 08-20 23:30 S19sudo -&gt; ../init.d/sudo<br>


lrwxrwxrwx   1 root root    30 08-20 23:30 S20stop-bootlogd-single -&gt; ../init.d/stop-bootlogd-single<br><br></div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
<div><br>
&gt; I&#39;ve ever install upstart, and uninstall it several days later, I<br>
&gt; think, maybe when I install upstart, symbol links in /etc/rc*.d is<br>
&gt; modified, but when I uninstall it, boot sequence have not been<br>
&gt; restored.<br>
<br>
</div>As far as I know, upstart do not change the boot sequence.  insserv<br>
change the boot sequence.  Anyway, since a few weeks ago, dependency<br>
based boot sequencing using insserv is the default in Debian/unstable,<br> so perhaps it is a good way forward for you to enable it too?</blockquote><div> </div></div><div> for I installed upstart and other related package long long ago, and then I remove them, I cannot remember clearly </div>


<div> which package I installed, which package change the boot sequence. </div><div><br></div><div>I&#39;m using insserv now, It looks like fine. </div><div class="im"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


To do this, the obsolete libdevmapper1.02 script should be removed (I<br>
suspect its package is removed but not purged), and &#39;dpkg-reconfigure<br>
insserv&#39; called to enable insserv if it isn&#39;t enabled already.<br>
</blockquote><div> </div></div><div> libdevmapper1.02 belongs to package libdevmapper1.02, I found no package depend on it, so I removed it. currently </div><div>/usr/share/insserv/check-initd-order gives no complain.</div>


<div><br></div><div>Thank you very much </div><div><br></div><div>-- <br></div><div><div class="h5">Alan Guo<br><a href="http://bluestone.cublog.cn" target="_blank">http://bluestone.cublog.cn</a></div></div><br>