1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Monday 03 May 2004 08:15, Olivier Crête wrote: |
5 |
> On Mon, 2004-05-03 at 07:10, John Nilsson wrote: |
6 |
> > While on the topic: |
7 |
> > Is it resonable to patch gdm so that /etc/init.d/xdm is zapped |
8 |
> > after gdm is killed by selecting reboot/shutdown from the login |
9 |
> > screen? It just annoys me that the script errors while shutting |
10 |
> > down. |
11 |
> |
12 |
> This is imho a misfeature of the current initscripts system. The |
13 |
> started-ness of an application is only checked against a file and not |
14 |
> against the current real status. We should probably add a possible |
15 |
> "status()" function to them (that would default to true) that would |
16 |
> check if the service is still running in a custom way.. And zap it if |
17 |
> it isnt... The problem there is with dependencies, should they be |
18 |
> stopped if the service died? But the current system is clearly |
19 |
> broken.. |
20 |
|
21 |
I agree, I think we should enhance the init scripts with another function |
22 |
that can check the status of a daemon (in some way) and as such also |
23 |
does not complain when a died daemon needs to be started. |
24 |
|
25 |
Paul |
26 |
|
27 |
- -- |
28 |
Paul de Vrieze |
29 |
Gentoo Developer |
30 |
Mail: pauldv@g.o |
31 |
Homepage: http://www.devrieze.net |
32 |
-----BEGIN PGP SIGNATURE----- |
33 |
Version: GnuPG v1.2.4 (GNU/Linux) |
34 |
|
35 |
iD8DBQFAlgMYbKx5DBjWFdsRAmOTAKDnA9E0PAVsCtMFAFJIkeKbLuJX/ACcDoCK |
36 |
k3gzkzUnrA0n2unCEEpERH0= |
37 |
=+tIc |
38 |
-----END PGP SIGNATURE----- |
39 |
|
40 |
-- |
41 |
gentoo-dev@g.o mailing list |