LSB-ish init script, RFC

Colin Walters walters at redhat.com
Fri Feb 15 16:51:46 UTC 2008


On Fri, 2008-02-15 at 08:15 -0600, Matthew Farrellee wrote:

> First, it wasn't sufficient for my service because anyone can run a copy 
> of my service. They just have to have their own config file. Think of it 
> like having both a system httpd, listening on port 80, and a user httpd, 
> listening on port 1134. Both process names can easily be "httpd". This 
> is a problem because /etc/init.d/functions' status() uses pidof, which 
> can find a user's process and confuse it with a system process. 

This will be fixed as we move to Upstart which gives us a significantly
saner monitoring approach rather than shell script mess, pid files and
heuristic matching on process names.





More information about the fedora-devel-list mailing list