User's cron job creates zombie process on 5.3

Darryl Okahata darrylo at soco.agilent.com
Wed Jan 19 11:27:39 PST 2005


Raymond Wiker <Raymond.Wiker at fast.no> wrote:

>         Hmm... Maybe this will work?
> 
>         /bin/sh -c "/usr/bin/ssh -n -f ${tunnel} &"
> 
> --- the effect of this should (hopefully) be that init becomes the
> parent of the zombie process.

     An easier-to-read way, assuming that a Bourne-compatible shell is
used (e.g., /bin/sh and not /bin/csh), would be:

	( /usr/bin/ssh -n -f ${tunnel} & )

-- 
	Darryl Okahata
	darrylo at soco.agilent.com

DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Agilent Technologies, or
of the little green men that have been following him all day.


More information about the freebsd-stable mailing list