Slow shutdown in dependency-based boot system

Sven Joachim svenjoac at gmx.de
Wed Jul 16 10:39:08 UTC 2008


On 2008-07-16 11:49 +0200, Petter Reinholdtsen wrote:

> [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:

Sorry, my mistake.  It's mountnfs-bootclean.sh, not mountall-bootclean.sh.

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

The former.

> 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.

Well, I always see the messages about cleaning /tmp/, /var/lock and
/var/run twice on every boot.  Probably I have to add some debug
messages to /lib/init/bootclean.sh...

Regards,
        Sven



More information about the initscripts-ng-devel mailing list