Slow shutdown in dependency-based boot system

Petter Reinholdtsen pere at hungry.com
Wed Jul 16 09:49:30 UTC 2008


[Sven Joachim]
> I tried to fix portmap's initscript, only to discover that
> mountall-bootclean.sh starts after portmap and deletes its pidfile.
> How embarrassing!

Why is portmap started before mountall-bootclean.sh?  In my test
setup, it start after it:

S12mountall.sh
S13mountall-bootclean.sh
S14mountoverflowtmp
S15bootmisc.sh
S15fuse
S15hwclock.sh
S15readahead-desktop
S15urandom
S15x11-common
S16ifupdown
S17networking
S18portmap
S19nfs-common
S20mountnfs.sh
S21mountnfs-bootclean.sh

> The bug is #490985.

The bug mention mountnfs-bootclean.sh and not mountall-bootclean.sh.
Which one is the problem?

The /lib/init/bootclean.sh script should track which directories it
has cleaned, and not try to clean them again.  Not sure why it fail in
your case.  Lets continue working on this in #490985.

Happy hacking,
-- 
Petter Reinholdtsen




More information about the initscripts-ng-devel mailing list