Slow shutdown in dependency-based boot system

Sven Joachim svenjoac at gmx.de
Wed Jul 16 08:47:52 UTC 2008


On 2008-07-15 23:29 +0200, Sven Joachim wrote:

> On 2008-07-15 23:23 +0200, Petter Reinholdtsen wrote:
>
>> [Sven Joachim]
>>> The portmap init script is broken, it uses `pidof portmap` as the pid to
>>> check instead of using start-stop-daemon's --pidfile option.  I'll file
>>> a bugreport on that.
>>
>> How annoying.  I provided a patch for portmap to get it to write a pid
>> file, and must have messed up.  Patches to get this working is most
>> welcome. :)
>
> I tried to fix portmap's initscript, only to discover that
> mountall-bootclean.sh starts after portmap and deletes its pidfile.
> How embarrassing!

Correction: it is mountnfs-bootclean.sh, not mountall-bootclean.sh.
Since mountnfs-bootclean.sh has to be run after portmap, the only way
out seems to add portmap.pid to the list of files that are not to be
deleted.  I've patched /lib/init/bootclean.sh and filed #491059 for
that.

> The bug is #490985.

I've submitted a patch for that as well.

Cheers,
       Sven



More information about the initscripts-ng-devel mailing list