Gentoo Archives: gentoo-dev

From: Pablo Yanez Trujillo <yanezp@×××××××××××××××××××××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] init.d problem
Date: Tue, 04 Jul 2006 22:06:43
Message-Id: 44AAE5A2.5000608@informatik.uni-freiburg.de
In Reply to: [gentoo-dev] init.d problem by Enrico Weigelt
1 what about "/etc/init.d/ntpd zap"? It deletes the file on /var/.... and set the status of the init.d-file as not
2 started. It is useful for such a case :)
3
4 Regards
5 Pablo
6
7 Pablo Yánez Trujillo
8 http://klingsor.informatik.uni-freiburg.de/
9
10
11 Enrico Weigelt wrote:
12 > Hi folks,
13 >
14 > maybe I've found a problem in the init.d stuff:
15 >
16 > It seems that /var/lib/init.d/started/* is blindly trusted,
17 > instead of actually checking if some service is running.
18 >
19 > For example, ntpd cannot be restarted via its init.d script
20 > if it died for some reason - /var/lib/init.d/started/ntpd
21 > has to be removed manually.
22 >
23 >
24 > I've filed a bug for it:
25 >
26 > http://bugs.gentoo.org/show_bug.cgi?id=139243
27 >
28 >
29 > cu
30 --
31 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] init.d problem Enrico Weigelt <weigelt@×××××.de>