From owner-freebsd-jail@FreeBSD.ORG Sat Apr 23 08:09:18 2011 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 6653E1065670 for ; Sat, 23 Apr 2011 08:09:18 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0398FC0A for ; Sat, 23 Apr 2011 08:09:18 +0000 (UTC) Received: by iyj12 with SMTP id 12so1274294iyj.13 for ; Sat, 23 Apr 2011 01:09:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.140.34 with SMTP id g34mr1266968ibu.195.1303544736255; Sat, 23 Apr 2011 00:45:36 -0700 (PDT) Received: by 10.231.12.134 with HTTP; Sat, 23 Apr 2011 00:45:36 -0700 (PDT) In-Reply-To: <20110423022428.GB30454@DataIX.net> References: <20110423022428.GB30454@DataIX.net> Date: Sat, 23 Apr 2011 15:45:36 +0800 Message-ID: From: Mars G Miro To: Mickey Harvey Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-jail@freebsd.org Subject: Re: starting jails hangs during boot 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: Sat, 23 Apr 2011 08:09:18 -0000 On Sat, Apr 23, 2011 at 10:24 AM, J. Hellenthal wrote: > On Fri, Apr 22, 2011 at 09:34:40AM -0700, Mickey Harvey wrote: >>When I boot up my host rc hangs at "starting jails:" indefinitely. If i >>Control^C during the hang boot continues as usual so I login ,run jls and >>the jail appears to have started correctly. I can login to the jail as us= ual >>using "jexec 1 sh". I'm using 8.2-RELEASE i386 on a VirtualBox VM. My rc = is >>set up as follows: >> Hi I've seen this and from my experience it could be any of these: 1) disabling dns on sshd (UseDNS no in /etc/ssh/sshd_config) 2) don't perform vi housekeeping (virecover_enable=3D"NO" in /etc/rc.con= f) 3) add your jail's fqdn to the jail's /etc/hosts Also take a look at your /var/log/jail_.log or the jail's var/log/* >>ifconfig_em0=3D"DHCP" >>ifconfig_em0_alias0=3D"10.0.2.16 netmask 255.255.255.255" >>jail_enable=3D"YES" >>jail_list=3D"www" >>jail_www_rootdir=3D"/usr/local/ >>jails/www" >>jail_www_hostname=3D"www" >>jail_www_ip=3D"10.0.2.16" >>jail_www_devfs_enable=3D"YES" > > Take a look over the jail(8) manual page. There are some directions in > there for services that you might consider disabling like sendmail etc. > > I would suspect that sendmail got stuck here and is waiting for its FQDN > to resolve but wont because for whatever reason it can't find it. > > -- > > =A0Regards, > =A0J. Hellenthal > =A0WWJD > > --=20 cheers mars -----