Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 14:56:13 -0700
From:      James Gritton <jamie@freebsd.org>
To:        freebsd-jail@freebsd.org
Cc:        =?UTF-8?Q?=D0=91=D0=BE=D1=80=D0=B8=D1=81?= <borius@i.ua>
Subject:   Re: Fwd: Re[2]: fails exec.postsop after shutdown jail.
Message-ID:  <7c117eea78240220d57a9650161407f6@gritton.org>
In-Reply-To: <E1Xnl21-0008Gl-3d@st05.mi6.kiev.ua>
References:  <E1Xnl21-0008Gl-3d@st05.mi6.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-11-10 02:13, Борис wrote:
>> Everything looks right to me. I've tried it out on my own system, and
>> it worked as expected. The only difference is I don't have VIMAGE, so
>> I commented out the vnet stuff (including the exec.start that goes
>> along with it).
>> 
>> So maybe the trouble is with vnet? Even still, that looks correct.
>> I'm just able to test it at the moment. Regardless, vnet shouldn't
>> affect the nullfs mount.
>> 
>> What output do you get for "jail -vr testjail1"?
>> 
>> - Jamie
> I do not understand anything, after booting my test stand to see
> output "jail -vr testjail1" all work's fine!
> root@:~ # jail -rv testjail1
> testjail1: run command in jail: /bin/sh /etc/rc.shutdown
> Stopping cron.
> Waiting for PIDS: 4040.
> Stopping sshd.
> Waiting for PIDS: 4036.
> .
> Terminated
> testjail1: sent SIGTERM to: 3965
> testjail1: removed
> testjail1: run command: ifconfig epair0a destroy
> testjail1: run command: /sbin/umount /jails/testjail1/dev
> testjail1: run command: /sbin/umount -t nullfs 
> /jails/testjail1/usr/ports
> 
> thank's for response, need more tests...subscribe@freebsd.org"

OK, I've tried it with VIMAGE now, and with the relevant bits of the 
jail.conf included.  It still all worked for me, creating the jail with 
the right IP address on epair0b, and removing both of the epairs when 
the jail was removed.

So yeah, I guess it needs more tests - sorry I couldn't do anything to 
make sense of it.

- Jamie




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