Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 15:55:52 -0500
From:      Michael Scheidell <scheidell@secnap.net>
To:        Frank Steinborn <steinex@nognu.de>
Cc:        freebsd-jail@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Problem with ezjail: Manually restarted jails don't come up again
Message-ID:  <4980C658.10505@secnap.net>
In-Reply-To: <20090128202556.GA30226@haydn.nognu.de>
References:  <20090128202556.GA30226@haydn.nognu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I installed the jail utilities (forgot which ones)

has a 'jkill' utility.

I then added a /etc/rc.conf.d/ezjail  with a pre-stop() command that 
calls a jkill.

then all works fine.



Frank Steinborn wrote:
> Hi folks,
>
> I have a strange problem on my 7.1-RELEASE with ezjail here. I have 5
> jails configured with ezjail, and they run flawlessy - they come up on
> boot without problems.
>
> However, if i stop a jail (via /usr/local/etc/rc.d/ezjail.sh stop
> <jail>) and then want to restart it via the rc-script, it stalls here:
>
> # /usr/local/etc/rc.d/ezjail.sh start mldonkey.local
> Configuring jails:.
> Starting jails:
>
> If I check with jls and 'pgrep -lfj <jid>', i see that there are processes
> inside the hanging jail running, including /etc/rc. I guess the
> jails are hanging somewhere in the boot-process, and i guess it's
> /etc/rc.
>
> I even doubt that this is an ezjail-only problem, but this is just a
> guess.
>
> Any hints?
>
> Thanks,
> Frank
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>   

-- 
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
 > *| *SECNAP Network Security Corporation

    * Certified SNORT Integrator
    * King of Spam Filters, SC Magazine 2008
    * Information Security Award 2008, Info Security Products Guide
    * CRN Magazine Top 40 Emerging Security Vendors
    * Finalist 2009 Network Products Guide Hot Companies


_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
_________________________________________________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4980C658.10505>