Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] strange gentoo shutdown sequence
Date: Sun, 02 May 2004 17:32:24
Message-Id: 20040502173223.GA7160@linux1.home
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi all,
5
6 On Sun, May 02, 2004 at 01:40:08PM +0200, Sven K?hler wrote:
7 > hi,
8 >
9 > gentoo usually does the following if i execute halt or reboot:
10 >
11 > sending all processes the TERM signal
12 > sending all processes the KILL signal
13 > stopping xdm ...
14 > stopping alsasound ...
15 > etc....
16 >
17 > in may eyes, this has to be the other way round:
18 > first shutdown all deamons properly with the init.d-script, and than
19 > send the remaining processes the TERM and KILL signals.
20 >
21 >
22 > why does gentoo handle things the way it does? redhat etc. do it the
23 > other way i described. using the init.d-script sounds more resonable to me.
24
25 I just confirmed this. When you do a shutdown or a reboot or halt, the processes are killed by the kill and term signals before the services are actually stopped with the /etc/init.d/* scripts.
26
27 Is there a reason for this or should it be the other way around?
28
29 William
30 -----BEGIN PGP SIGNATURE-----
31 Version: GnuPG v1.2.4 (GNU/Linux)
32
33 iD8DBQFAlTCnblQW9DDEZTgRAhpFAKCHZKYcQ7pf3cW8k8cFSIwCSYOOxACfWb3z
34 FwWqFEXh6xyd6I8prHhvi6E=
35 =31D5
36 -----END PGP SIGNATURE-----
37
38 --
39 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] strange gentoo shutdown sequence John Nilsson <john@×××××××.nu>
Re: [gentoo-dev] strange gentoo shutdown sequence splite-gentoo@××××××××××××××××.edu