what about "/etc/init.d/ntpd zap"? It deletes the file on /var/.... and set the status of the init.d-file as not started. It is useful for such a case :)

Regards
Pablo

Pablo Yánez Trujillo
http://klingsor.informatik.uni-freiburg.de/


Enrico Weigelt wrote:
Hi folks,

maybe I've found a problem in the init.d stuff:

It seems that /var/lib/init.d/started/* is blindly trusted, instead of actually checking if some service is running.

For example, ntpd cannot be restarted via its init.d script
if it died for some reason - /var/lib/init.d/started/ntpd has to be removed manually.


I've filed a bug for it:

    http://bugs.gentoo.org/show_bug.cgi?id=139243


cu
--
gentoo-dev@gentoo.org mailing list

Reply via email to