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.
Ted
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
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@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---