From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 01:09:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 552791065673; Thu, 29 Jan 2009 01:09:00 +0000 (UTC) (envelope-from steinex@nognu.de) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id B16FD8FC20; Thu, 29 Jan 2009 01:08:59 +0000 (UTC) (envelope-from steinex@nognu.de) Received: by fg-out-1718.google.com with SMTP id e12so862902fga.35 for ; Wed, 28 Jan 2009 17:08:58 -0800 (PST) Received: by 10.223.113.193 with SMTP id b1mr847698faq.77.1233191338729; Wed, 28 Jan 2009 17:08:58 -0800 (PST) Received: from haydn.nognu.de (haydn.nognu.de [81.169.170.112]) by mx.google.com with ESMTPS id 28sm843358eye.19.2009.01.28.17.08.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Jan 2009 17:08:58 -0800 (PST) Date: Thu, 29 Jan 2009 02:09:26 +0100 From: Frank Steinborn To: Mel Message-ID: <20090129010926.GA6652@haydn.nognu.de> References: <20090128202556.GA30226@haydn.nognu.de> <20090128210100.P45963@maildrop.int.zabbadoz.net> <20090128212431.GB30226@haydn.nognu.de> <200901281523.33379.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901281523.33379.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "Bjoern A. Zeeb" , freebsd-jail@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Problem with ezjail: Manually restarted jails don't come up again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 01:09:04 -0000 On Wed, Jan 28, 2009 at 03:23:33PM -0900, Mel wrote: > On Wednesday 28 January 2009 12:24:31 Frank Steinborn wrote: > > I guess i found a possible answer to my problem: The jail is running > > mldonkey, which is started via /etc/rc.conf. If I don't start it, the > > jail comes up as expected. These are the last two processes spawned in > > the jail: > > > > 37947 p3 T+J 0:00.01 su -l mldonkey -c /bin/sh -c > > ^I"/usr/local/bin/mlnet ^I ^I ^I>> /dev/null 2>&1 &" > > 37948 p3 TJ 0:00.01 -su -c /bin/sh -c ^I"/usr/local/bin/mlnet ^I > > ^I ^I>> /dev/null 2>&1 &" (zsh) > ^^^ > Why is zsh shell involved? This was it. I should not have used the root-account inside the jails with zsh. I now use the toor account on zsh and put the shell of root back to csh everywhere. However, I don't understand why zsh is invoked, since all rc.d-scripts have shebang lines telling them to use /bin/sh? I'm a bit confused, maybe can someone give a bit light on this... However, it works now. Thanks, Frank