Date: Sat, 23 Apr 2011 15:45:36 +0800 From: Mars G Miro <spry@anarchy.in.the.ph> To: Mickey Harvey <mh.unet@gmail.com> Cc: freebsd-jail@freebsd.org Subject: Re: starting jails hangs during boot Message-ID: <BANLkTimdczYi78kz6CWBPBZh-Buaf5mSoA@mail.gmail.com> In-Reply-To: <20110423022428.GB30454@DataIX.net> References: <BANLkTinfs%2BDgHNZSWhZaYct-4WzigFf5TQ@mail.gmail.com> <20110423022428.GB30454@DataIX.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 23, 2011 at 10:24 AM, J. Hellenthal <jhell@dataix.net> 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_<name>.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 -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimdczYi78kz6CWBPBZh-Buaf5mSoA>