Fwd: Graphical Shutdown
ssorce at redhat.com
Mon Sep 17 19:31:17 UTC 2007
On Mon, 2007-09-17 at 15:17 -0400, Bill Nottingham wrote:
> Richi Plana (myfedora at richip.dhs.org) said:
> > Are there use-cases where feedback on service shutdown would be desired?
> > It seems that if there were, a couple of lines of text would be
> > minimalist.
> > If sourcing shells and scripts has become a sticky point, then perhaps
> > that functionality should be included in init. Which sort of brings up
> > the topic of evaluating current init replacements (or, better yet, an
> > init, changerunlevel, shutdown system).
> I'd need to benchmark some more, but I suspect the delay is because of
> a linear sequence of:
> - kill -TERM $pid
> - wait to see if it's dead
> - kill -KILL $pid
> for each service, as opposed to a global
> - kill -TERM $everything
> - wait a second
> - kill -KILL $everything
Do it with your services, don't try on mine :-)
Maybe there is a way to say "me too", and " no, not me, I have to shut
down cleanly", and group these process in 2 groups, for the second you
wait the time it needs to.
More information about the fedora-devel-list