On Wed, Feb 22, 2006 at 09:40:01AM +0100, Oliver Geisen wrote:
> Hello,
> 
> i have encountered problems using initscripts to stop self-forking  
> daemons like "Apache".
> Normally i would use "killproc httpd" to do this.
> 
> This (mostly) don't work, because the function "killproc" uses the  
> pidlist returned by "getpids" and this will use "pidof" utility to  
> obtain process-ids of all running instances of "httpd".

The BLFS bootscripts don't use killproc on apache. The use apachectl and
evaluate_retval.

> This ensures the master-pid (if any) will preceed the list, and so if  
> the master get killed, it would kill all of its childs himself.
> Maybe someone could change this in the global distribution files of LFS.

My fuzzy memory recalls a problem with mysql and one of the core
lfs-bootscripts functions. Might be worth a look in the archives.

-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to