Slow shutdown in dependency-based boot system
Sven Joachim
svenjoac at gmx.de
Wed Jul 16 11:29:21 UTC 2008
On 2008-07-16 12:39 +0200, Sven Joachim wrote:
> On 2008-07-16 11:49 +0200, Petter Reinholdtsen wrote:
>> 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...
Not necessary, the comments you put into that file were enough:
,----
| # DO NOT RUN AFTER S:55bootmisc.sh and do not run this script directly
| # in runlevel S. Instead write an initscript to call it.
`----
And "of course" bootmisc.sh runs after mountall-bootclean.sh but before
mountnfs-bootclean.sh, deleting the .clean breadcrumb files that the
former left for the latter. Argh!
Cheers,
Sven
More information about the initscripts-ng-devel
mailing list