[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Faster shutdown and the ubuntu "multiuser" update-rc.d extention



[Gabor Gombas]
> I'm wondering if init could be modified to warn if it really has to kill
> something with SIGKILL but of course syslog is long dead by then so
> unless you've serial console you'll likely miss that warning.

Actually, it might be possible with the latest killall5 and the
sendsigs script (since sysvinit version 2.86.ds1-39).  It is now
possible to list pids that should survive sendsigs in
/var/run/sendsigs.omit, and syslog might be listed there, and be
killed just before /var/ is umounted.  Of course, that is not what the
current shutdwn sequence look like, so it does not work now. :)

Happy hacking,
-- 
Petter Reinholdtsen


Reply to: