1 |
Hi folks, |
2 |
|
3 |
|
4 |
the bug 139243 shows an possible problem in the init.d system: |
5 |
it stores the service status in /var/lib/init.d/started and |
6 |
of course refuses to start an certain service if its already |
7 |
there (at least if "zap" not given). |
8 |
|
9 |
This is okay, as long as services don't die abnormally, as my |
10 |
ntpd did in bug 139243 - in this case init.d thinks it's already |
11 |
running and so of course refuses to start it. |
12 |
|
13 |
The main problem is that init.d relies on its own status flag, |
14 |
but does not check any pidfile and so has wrong information. |
15 |
|
16 |
Is there already any way for telling it to use some pidfile ? |
17 |
The files in /var/lib/init.d/deamons already contain pidfiles, |
18 |
so this could be used. |
19 |
|
20 |
|
21 |
cu |
22 |
-- |
23 |
--------------------------------------------------------------------- |
24 |
Enrico Weigelt == metux IT service - http://www.metux.de/ |
25 |
--------------------------------------------------------------------- |
26 |
Please visit the OpenSource QM Taskforce: |
27 |
http://wiki.metux.de/public/OpenSource_QM_Taskforce |
28 |
Patches / Fixes for a lot dozens of packages in dozens of versions: |
29 |
http://patches.metux.de/ |
30 |
--------------------------------------------------------------------- |
31 |
-- |
32 |
gentoo-dev@g.o mailing list |