1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hello, |
5 |
|
6 |
I'd like to mention a problem that I see occasionally and see if anyone |
7 |
else considers it annoying enough to have fixed somehow. |
8 |
|
9 |
The problem is that services can't be stopped (via /etc/init.d/* ) if |
10 |
the process they started has died since the init script started it. |
11 |
|
12 |
Presumably the scripts try to terminate the process, find that it's not |
13 |
there anymore and exit with an error, but this means that there is no |
14 |
way (aside from starting a process with the correct name then letting |
15 |
the script kill it) to start the service again until the system |
16 |
restarts, which proves very annoying if you're doing anything which |
17 |
causes services to die frequently (in my case I'm playing with the |
18 |
lircd, which is a little flaky sometimes). |
19 |
|
20 |
Is there anything that can be done about this? If the script tries to |
21 |
stop a service and finds the process has died then it probably should |
22 |
report an error, but I think it should also register that the service |
23 |
has stopped so that it can be restarted. |
24 |
|
25 |
Cheers, |
26 |
|
27 |
Andy |
28 |
|
29 |
|
30 |
|
31 |
-----BEGIN PGP SIGNATURE----- |
32 |
Version: GnuPG v1.2.1 (GNU/Linux) |
33 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
34 |
|
35 |
iD8DBQE+KZRqX3TTUvZURBERAu1/AKCOJ34Hz/aeL/piAOd2lOgPJSnnhgCfcogr |
36 |
0D28blwIFmGEHKU+SfRs6O4= |
37 |
=5djP |
38 |
-----END PGP SIGNATURE----- |
39 |
|
40 |
|
41 |
-- |
42 |
gentoo-dev@g.o mailing list |