Panic after vnet/jail destroy
Joe Holden
lists at rewt.org.uk
Sat Feb 18 06:51:32 UTC 2012
Hi guys,
I've upgraded some machines to 9.0-REL and I'm seeing the following a
few minutes after stopping or restarting a jail with vnet:
http://i.imgur.com/cRsLr.jpg
Sometimes it doesn't happen and as the machine is remote it means I only
have ipkvm output posted above to go on, I'm also using jailv2 with the
following config:
jail_list="$jail_list relay"
jail_relay_name="relay"
jail_relay_hostname="relay"
jail_relay_devfs_enable="YES"
jail_relay_rootdir="/data/jails/relay"
jail_relay_mount_enable="YES"
jail_relay_fstab="/etc/jails/fstabs/relay"
jail_relay_vnet_enable="YES"
jail_relay_exec_prestart0="ifconfig epair0 create"
jail_relay_exec_prestart1="ifconfig bridge0 addm epair0a"
jail_relay_exec_prestart2="ifconfig epair1 create"
jail_relay_exec_prestart3="ifconfig bridge1 addm epair1a"
jail_relay_exec_prestart4="ifconfig epair0a up"
jail_relay_exec_prestart5="ifconfig epair1a up"
jail_relay_exec_earlypoststart0="ifconfig epair0b vnet relay"
jail_relay_exec_earlypoststart1="ifconfig epair1b vnet relay"
jail_relay_exec_afterstart0="ifconfig lo0 inet 127.0.0.1/8"
jail_relay_exec_afterstart1="ifconfig epair0b inet 10.43.43.2/29"
jail_relay_exec_afterstart2="ifconfig epair1b inet 10.54.43.2/29"
jail_relay_exec_afterstart3="route -q add default 10.43.43.1"
jail_relay_exec_afterstart4="/bin/sh /etc/rc"
jail_relay_exec_poststop0="ifconfig bridge0 deletem epair0a"
jail_relay_exec_poststop1="ifconfig epair0a destroy"
jail_relay_exec_poststop2="ifconfig bridge1 deletem epair1a"
jail_relay_exec_poststop3="ifconfig epair1a destroy"
I haven't seen this when managing jails manually, however.
Any suggestions welcome!
Thanks,
J
More information about the freebsd-net
mailing list