From: Jon Portnoy <avenj@gentoo.org>
To: "Sven Köhler" <skoehler@upb.de>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: strange gentoo shutdown sequence
Date: Tue, 4 May 2004 12:30:47 -0400 [thread overview]
Message-ID: <20040504163047.GA19268@cerberus.oppresses.us> (raw)
In-Reply-To: <c78et8$n26$2@sea.gmane.org>
On Tue, May 04, 2004 at 06:00:44PM +0200, Sven Köhler wrote:
> >>well why is the shell inside my gnome-terminal killed (and restarted by
> >>gnome-terminal over and over again) if i execute halt?
> >
> >Because halt also signals all processes, independently of init. Look at
> >the top of /etc/init.d/halt.sh:
> >
> >| ebegin "Sending all processes the TERM signal"
> >| killall5 -15 &> /dev/null
> >| eend $?
> >| sleep 5
> >| ebegin "Sending all processes the KILL signal"
> >| killall5 -9 &> /dev/null
> >| eend $?
>
> OK, but that doesn't make sense to me too.
>
> I want to write a init-script to start/stop UML-machines. I wan't the
> UMLs to be gracefully shutdown. I cannot take the risk of data-loss due
> to an UML getting killed.
>
> BTW: UML=UserModeLinux
>
>
Anything in the runlevel will be gracefully shut down via the init
script's stop function (if it didn't, you'd see a whole lot of errors in
the shutdown sequence)
halt is called after everything else and kills remaining processes.
--
Jon Portnoy
avenj/irc.freenode.net
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2004-05-04 16:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-02 17:32 [gentoo-dev] strange gentoo shutdown sequence William Hubbs
2004-05-03 5:10 ` John Nilsson
2004-05-03 6:15 ` Olivier Crête
2004-05-03 6:46 ` John Nilsson
2004-05-03 17:22 ` Grant Goodyear
2004-05-03 8:30 ` Paul de Vrieze
2004-05-03 8:50 ` Allen D Parker
2004-05-03 9:05 ` Paul de Vrieze
2004-05-05 18:11 ` Martin Schlemmer
2004-05-03 16:24 ` splite-gentoo
2004-05-04 15:13 ` [gentoo-dev] " Sven Köhler
2004-05-04 15:33 ` splite-gentoo
2004-05-04 16:00 ` Sven Köhler
2004-05-04 16:30 ` Jon Portnoy [this message]
2004-05-04 15:16 ` Sven Köhler
2004-05-04 15:37 ` splite-gentoo
2004-05-04 15:59 ` Sven Köhler
2004-05-04 16:25 ` splite-gentoo
2004-05-07 16:33 ` Chris Gianelloni
2004-05-07 17:53 ` splite-gentoo
2004-05-04 16:28 ` Daniel Drake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040504163047.GA19268@cerberus.oppresses.us \
--to=avenj@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=skoehler@upb.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox