From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 21:22:54 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 76D4C1065670; Wed, 28 Jan 2009 21:22:54 +0000 (UTC) (envelope-from steinex@nognu.de) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id CB02B8FC18; Wed, 28 Jan 2009 21:22:53 +0000 (UTC) (envelope-from steinex@nognu.de) Received: by ewy14 with SMTP id 14so4796605ewy.19 for ; Wed, 28 Jan 2009 13:22:52 -0800 (PST) Received: by 10.223.110.3 with SMTP id l3mr5164676fap.49.1233177772326; Wed, 28 Jan 2009 13:22:52 -0800 (PST) Received: from haydn.nognu.de (haydn.nognu.de [81.169.170.112]) by mx.google.com with ESMTPS id 5sm332523eyh.41.2009.01.28.13.22.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Jan 2009 13:22:51 -0800 (PST) Date: Wed, 28 Jan 2009 22:24:31 +0100 From: Frank Steinborn To: "Bjoern A. Zeeb" Message-ID: <20090128212431.GB30226@haydn.nognu.de> References: <20090128202556.GA30226@haydn.nognu.de> <20090128210100.P45963@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090128210100.P45963@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: 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: Wed, 28 Jan 2009 21:22:54 -0000 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) It's suspicious that there are ^I's in there. And as a side-note: Other jails have the same problem, with completely different services to start up. What to do about it? If I start mldonkey manually when the jail came up, it works as expected, but this is really suboptimal...