[Bug 264981] jail with vnet interface stuck in dying state
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 264981] Invisible interface after destroying vnet jail"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Dec 2022 14:58:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264981
--- Comment #8 from Zhenlei Huang <zlei.huang@gmail.com> ---
Non-vnet jails are also affected.
Steps to repeat:
1: root@:~ # ifconfig lo0 inet 172.16.0.1/32 alias
2: root@:~ # sh test_prison_ref_leak.sh
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 172.16.0.1 netmask 0xffffffff
groups: lo
JID IP Address Hostname Path
jls: jail "test_ref_leak" is dying
The content of test_prison_ref_leak.sh:
root@:~ # cat test_prison_ref_leak.sh
#!/bin/sh
# test jail name
n="test_ref_leak"
jail -c name=$n path=/ persist ip4.addr=172.16.0.1
# The following trigger jail pr_ref leak
jexec $n ifconfig lo0
jail -R $n
# wait a moment
sleep 1
jls -j $n
--
You are receiving this mail because:
You are the assignee for the bug.