Fwd: Re[2]: fails exec.postsop after shutdown jail.

James Gritton jamie at freebsd.org
Tue Nov 11 21:56:24 UTC 2014


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 at 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



More information about the freebsd-jail mailing list