public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: splite-gentoo@sigint.cs.purdue.edu
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: strange gentoo shutdown sequence
Date: Tue, 4 May 2004 10:37:24 -0500	[thread overview]
Message-ID: <20040504153724.GC7040@sigint.cs.purdue.edu> (raw)
In-Reply-To: <c78c9j$fng$2@sea.gmane.org>

On Tue, May 04, 2004 at 05:16:08PM +0200, Sven K?hler wrote:
> >init(8) itself sends the TERM and KILL signals when changing runlevels, and
> >there's no way around that, save patching init.
> 
> redhat does it the other way round. redhat first calls all init.d 
> scripts and then the TERM and KILL signals are send - so did redhat 
> patch init?

I don't know; I don't use RHL or RHEL.  However, I suspect they work just
as Gentoo does.  init(8) first signals the processes in its process group,
so you'll see:

INIT: Switching to runlevel 0
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal

on the console.  Then init runs the RHL shutdown scripts, the final one of
which probably sends all processes SIGTERM and SIGKILL, just like Gentoo's
/etc/init.d/halt.sh does.

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2004-05-04 15:37 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
2004-05-04 15:16   ` Sven Köhler
2004-05-04 15:37     ` splite-gentoo [this message]
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=20040504153724.GC7040@sigint.cs.purdue.edu \
    --to=splite-gentoo@sigint.cs.purdue.edu \
    --cc=gentoo-dev@lists.gentoo.org \
    /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