1 |
On Tue, May 04, 2004 at 05:13:52PM +0200, Sven K?hler wrote: |
2 |
> >It's not a real problem because init only signals processes still in init's |
3 |
> >process group, and there usually aren't any. (Run "ps -eo pid,pgrp,cmd" to |
4 |
> >see if any are, if you're curious.) |
5 |
> |
6 |
> well why is the shell inside my gnome-terminal killed (and restarted by |
7 |
> gnome-terminal over and over again) if i execute halt? |
8 |
|
9 |
Because halt also signals all processes, independently of init. Look at |
10 |
the top of /etc/init.d/halt.sh: |
11 |
|
12 |
| ebegin "Sending all processes the TERM signal" |
13 |
| killall5 -15 &> /dev/null |
14 |
| eend $? |
15 |
| sleep 5 |
16 |
| ebegin "Sending all processes the KILL signal" |
17 |
| killall5 -9 &> /dev/null |
18 |
| eend $? |
19 |
|
20 |
-- |
21 |
gentoo-dev@g.o mailing list |