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>
index | next in thread | previous in thread | raw e-mail
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 usual >>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="NO" in /etc/rc.conf) 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="DHCP" >>ifconfig_em0_alias0="10.0.2.16 netmask 255.255.255.255" >>jail_enable="YES" >>jail_list="www" >>jail_www_rootdir="/usr/local/ >>jails/www" >>jail_www_hostname="www" >>jail_www_ip="10.0.2.16" >>jail_www_devfs_enable="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. > > -- > > Regards, > J. Hellenthal > WWJD > > -- cheers mars -----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimdczYi78kz6CWBPBZh-Buaf5mSoA>
