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

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



Colin Watson <cjwatson@debian.org> writes:

> The point is that, if all you're going to do by way of a "clean
> shutdown" is send SIGTERM to the process and not wait for it to complete
> (which is the case for quite a number of init scripts; Scott did a
> survey of those that were part of a stock Ubuntu desktop installation at
> http://wiki.ubuntu.com/Teardown), then you might as well just let
> sendsigs do that since it's going to do so anyway.
>
> This isn't "not doing clean shutdowns" - it's just rationalising away
> multiple init scripts called on shutdown that are duplicating work done
> by a core script.

Right.  The only case where a shutdown script makes sense to me is if it's
doing something other than sending signals or if it's waiting
(intelligently, not just blindly for five seconds) for the process to shut
down cleanly.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: