Gentoo Archives: gentoo-dev

From: Chris Gianelloni <wolf31o2@g.o>
To: splite-gentoo@××××××××××××××××.edu
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: strange gentoo shutdown sequence
Date: Fri, 07 May 2004 16:34:00
Message-Id: 1083947609.9268.5.camel@localhost
In Reply to: Re: [gentoo-dev] Re: strange gentoo shutdown sequence by splite-gentoo@sigint.cs.purdue.edu
1 On Tue, 2004-05-04 at 12:25, splite-gentoo@××××××××××××××××.edu wrote:
2 > On Tue, May 04, 2004 at 05:59:25PM +0200, Sven K?hler wrote:
3 > > >I don't know; I don't use RHL or RHEL. However, I suspect they work just
4 > > >as Gentoo does. init(8) first signals the processes in its process group,
5 > > >so you'll see:
6 > > >
7 > > >INIT: Switching to runlevel 0
8 > > >INIT: Sending processes the TERM signal
9 > > >INIT: Sending processes the KILL signal
10 > > >
11 > > >on the console. Then init runs the RHL shutdown scripts, the final one of
12 > > >which probably sends all processes SIGTERM and SIGKILL, just like Gentoo's
13 > > >/etc/init.d/halt.sh does.
14 > >
15 > > No, you first see the init-scripts shutting down all the services, and
16 > > than you see the TERM/KILL stuff.
17 >
18 > *shrug* Maybe they kludged init so they wouldn't get support calls asking
19 > why processes were being killed before the shutdown scripts ran.
20
21 It is patched out. I used to do the same thing with Slackware/LFS boxes
22 simply because it made for fewer questions from users. You can always
23 grab the .src.rpm and look at what patches they use yourself.
24
25 --
26 Chris Gianelloni
27 Developer, Gentoo Linux
28 Games Team
29
30 Is your power animal a pengiun?
31
32
33 --
34 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: strange gentoo shutdown sequence splite-gentoo@××××××××××××××××.edu