Mail archive
alpine-devel

Re: [alpine-devel] Init script issue

From: Natanael Copa <natanael.copa_at_gmail.com>
Date: Thu, 20 Nov 2008 09:16:14 +0100

On Wed, 2008-11-19 at 13:32 -0800, Ted Trask wrote:
> A recent change to ACF looks for the presence of pid files to
> determine if a service is running. Unfortunately, the status is wrong
> for at least a few services because the init.d script fails to delete
> the pid file on a stop. So far, I've seen the problem with bgpd,
> dansguardian, and dnsmasq. I'm sure it's also there with others.

right, and not all services uses pid at all. basicly, you cannot really
rely on the pid file.

While working on a related proj i was thinking that the init.d libs
should be taking optional parameter to check if service is running by
pidof()

-nc



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Nov 20 2008 - 09:16:14 UTC