From owner-freebsd-stable@FreeBSD.ORG Wed Jan 19 19:27:39 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24EDE16A4CE for ; Wed, 19 Jan 2005 19:27:39 +0000 (GMT) Received: from msgbas9x.lvld.agilent.com (msgbas9x.lvld.agilent.com [192.25.144.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF90743D41 for ; Wed, 19 Jan 2005 19:27:38 +0000 (GMT) (envelope-from darrylo@soco.agilent.com) Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239]) by msgbas9x.lvld.agilent.com (Postfix) with ESMTP id 4B13F3C62 for ; Wed, 19 Jan 2005 12:27:35 -0700 (MST) Received: from wcosvs03.cos.agilent.com (wcosvs03.cos.agilent.com [130.29.152.233]) by relcos1.cos.agilent.com (Postfix) with ESMTP id DB8C52DC for ; Wed, 19 Jan 2005 12:27:37 -0700 (MST) Received: from mina.soco.agilent.com ([141.121.54.157]) by wcosvs03.cos.agilent.com with InterScan Messaging Security Suite; Wed, 19 Jan 2005 12:27:36 -0700 Received: from mina.soco.agilent.com (localhost [127.0.0.1]) SMKit7.1.1_Agilent) with ESMTP id LAA07487; Wed, 19 Jan 2005 11:27:35 -0800 (PST) Message-Id: <200501191927.LAA07487@mina.soco.agilent.com> To: Raymond Wiker In-Reply-To: Your message of "Wed, 19 Jan 2005 16:47:10 +0100." <16878.33022.866459.717977@raw.grenland.fast.no> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Date: Wed, 19 Jan 2005 11:27:35 -0800 From: Darryl Okahata cc: Rob cc: freebsd-stable@freebsd.org Subject: Re: User's cron job creates zombie process on 5.3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Darryl Okahata List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 19:27:39 -0000 Raymond Wiker 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@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.