Le Thu  4/08/2005, Steven Spence disait
> Julio Maidanik wrote:
> >Hi,
> >I would have thought that starting clamd in inittab, as for example:
> >
> >av:2345:respawn:/usr/local/sbin/clamd
> >
> >would be a nice idea ...
> >no need to check whether clamd is alive...
> >
> >Unfortunately when I did that, I got  problems. It seems that the parent
> >process foks a child process and then terminates, and therefore init
> >continually respawns the process.
> Are you sure this is what is happening?  If I remember correctly
> a parent isn't supposed to die after spawning a child.  Child
> processes without parents are zombies.

It is a standard way to daemonize a process. Child without parent are
not zombies, they are "adopted" by init. Zombies are dead processes
whose parent did not acknowledge the death.

-- 
Erwan David
==========================================================
Trusted Logic                     Tel: +33 1 30 97 25 03
5 rue du Bailliage                Std: +33 1 30 97 25 00
78000 Versailles                  Fax: +33 1 30 97 25 19
France
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to