From owner-freebsd-jail@FreeBSD.ORG Thu Jan 29 00:23:34 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2304F106564A; Thu, 29 Jan 2009 00:23:34 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E33138FC0A; Thu, 29 Jan 2009 00:23:33 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 8AB68AFC1FE; Wed, 28 Jan 2009 15:23:33 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 28 Jan 2009 15:23:33 -0900 User-Agent: KMail/1.9.10 References: <20090128202556.GA30226@haydn.nognu.de> <20090128210100.P45963@maildrop.int.zabbadoz.net> <20090128212431.GB30226@haydn.nognu.de> In-Reply-To: <20090128212431.GB30226@haydn.nognu.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901281523.33379.fbsd.questions@rachie.is-a-geek.net> Cc: "Bjoern A. Zeeb" , freebsd-jail@freebsd.org Subject: Re: Problem with ezjail: Manually restarted jails don't come up again X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 00:23:34 -0000 On Wednesday 28 January 2009 12:24:31 Frank Steinborn wrote: > On Wed, Jan 28, 2009 at 09:02:35PM +0000, Bjoern A. Zeeb wrote: > > if it's network services hanging on startup, check firewall and > > resolve.conf inside the jail or wait a few minutes to let possible dns > > queries timeout. > > Also tpcdumping on the nase system for the jail IP might give a clue > > in that case. > > > > If it's something else that's hanging you can find out easily looking > > at jail startup logs and/or the last process started inside the > > jail... > > > > /bz > > 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? -- Mel Problem with today's modular software: they start with the modules and never get to the software part.