I executed a slightly modified version of the script provided in comment
#83 on a Jammy VM.
--- original.sh 2026-08-21 18:21:01.843922087 +0000
+++ test.sh 2026-08-21 18:18:19.392218403 +0000
@@ -147,7 +147,7 @@
unshare --net -- sleep infinity &
CLIENT_PID=$!
-
+sleep 2
ip link set veth1 netns $CLIENT_PID
sleep 0.5
@@ -200,8 +200,8 @@
exit 1
fi
- printf '%s\n' "${OPTS_VARIANTS[$i]}" > "$DHCP_OPTS"
- printf '%s\n' "${HOSTS_VARIANTS[$i]}" > "$DHCP_HOSTS"
+ printf '%s\n' "${OPTS_VARIANTS[$N]}" > "$DHCP_OPTS"
+ printf '%s\n' "${HOSTS_VARIANTS[$N]}" > "$DHCP_HOSTS"
kill -HUP ${DNSMASQ_PID}
sleep 0.5
Running without dnsmasq from -proposed, we get the following. Note the
"double free or corruption (out)" line and the "FAIL" output
dnsmasq:
Installed: 2.90-0ubuntu0.22.04.4
Candidate: 2.90-0ubuntu0.22.04.4
Version table:
*** 2.90-0ubuntu0.22.04.4 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64
Packages
500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64
Packages
100 /var/lib/dpkg/status
2.86-1.1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
+ DNSMASQ_PID=0
+ CLIENT_PID=0
+ '[' '' '!=' run_test ']'
+ unshare --user --net --mount --map-root-user ./test.sh run_test
+ DNSMASQ_PID=0
+ CLIENT_PID=0
+ '[' run_test '!=' run_test ']'
++ mktemp -d
+ tmpdir=/tmp/tmp.iuEYHG2ngk
+ mkdir -p /tmp/tmp.iuEYHG2ngk/dnsmasq.d
+ trap cleanup EXIT TERM
+ ip link set lo up
+ ip link add veth0 type veth peer name veth1
+ ip addr add 10.0.0.1/24 dev veth0
+ ip link set veth0 up
+ DHCP_OPTS=/tmp/tmp.iuEYHG2ngk/dnsmasq.d/dhcp-opts.conf
+ DHCP_HOSTS=/tmp/tmp.iuEYHG2ngk/dnsmasq.d/dhcp-hosts.conf
+ DHCP_CONF=/tmp/tmp.iuEYHG2ngk/dnsmasq.d/dnsmasq.conf
+ cat
+ cat
+ cat
+ cat
+ chmod 755 /tmp/tmp.iuEYHG2ngk/send_discover.py
+ DNSMASQ_PID=1574
+ echo 'DNSMASQ_PID is 1574'
DNSMASQ_PID is 1574
+ kill -0 1574
+ CLIENT_PID=1575
+ sleep 2
+ unshare --net -- sleep infinity
+ MALLOC_CHECK_=3
+ dnsmasq -C /tmp/tmp.iuEYHG2ngk/dnsmasq.d/dnsmasq.conf --no-daemon
dnsmasq: started, version 2.90 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP
DHCPv6 no-Lua TFTP conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect
inotify dumpfile
dnsmasq: warning: no upstream servers configured
dnsmasq-dhcp: DHCP, IP range 10.0.0.10 -- 10.0.0.200, lease time 12h
dnsmasq-dhcp: DHCP, sockets bound exclusively to interface veth0
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.iuEYHG2ngk/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.iuEYHG2ngk/dnsmasq.d/dhcp-opts.conf
+ ip link set veth1 netns 1575
+ sleep 0.5
+ nsenter --net=/proc/1575/ns/net -- ip link set lo up
+ nsenter --net=/proc/1575/ns/net -- ip addr add 10.0.0.2/24 dev veth1
+ nsenter --net=/proc/1575/ns/net -- ip link set veth1 up
+ nsenter --net=/proc/1575/ns/net -- /tmp/tmp.iuEYHG2ngk/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 2257681898 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 2257681898 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 2257681898 tags: group1, known, veth0
dnsmasq-dhcp: 2257681898 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 2257681898 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 2257681898 next server: 10.0.0.1
dnsmasq-dhcp: 2257681898 broadcast response
dnsmasq-dhcp: 2257681898 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 2257681898 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 2257681898 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 2257681898 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 2257681898 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 2257681898 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 2257681898 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 2257681898 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 2257681898 sent size: 4 option: 6 dns-server 8.8.8.8
Sent DHCP DISCOVER (xid=0x86917dea, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ OPTS_VARIANTS=('tag:group1,option:dns-server,8.8.8.8
tag:group1,option:router,10.0.0.1' 'tag:group1,option:dns-server,1.1.1.1
tag:group1,tag:group2,option:router:10.0.0.1
tag:group2,option:domain-name,example.com'
'tag:group1,option:dns-server,9.9.9.9' 'tag:group1,option:dns-server,8.8.4.4
tag:group1,option:router,10.0.0.1
tag:group1,option:domain-name,example.org' 'tag:group1,option:dns-server,1.0.0.1
tag:group1,tag:group2,option:router,10.0.0.1')
+ HOSTS_VARIANTS=('52:54:00:de:ad:01,set:group1,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102'
'52:54:00:de:ad:01,set:group1,set:group2,10.0.0.101
52:54:00:de:ad:02,set:group2,10.0.0.102'
'52:54:00:de:ad:01,set:group1,10.0.0.101'
'52:54:00:de:ad:01,set:group1,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102'
'52:54:00:de:ad:01,set:group1,set:group2,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102')
+ cat
++ seq 1 5
+ for N in $(seq 1 5)
+ nsenter --net=/proc/1575/ns/net -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT group default qlen 1000
link/ether f2:37:d8:4d:42:1c brd ff:ff:ff:ff:ff:ff link-netnsid 0
+ nsenter --net=/proc/1575/ns/net -- /tmp/tmp.iuEYHG2ngk/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 1096942111 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 1096942111 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 1096942111 tags: group1, known, veth0
dnsmasq-dhcp: 1096942111 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 1096942111 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 1096942111 next server: 10.0.0.1
dnsmasq-dhcp: 1096942111 broadcast response
dnsmasq-dhcp: 1096942111 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 1096942111 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 1096942111 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 1096942111 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 1096942111 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 1096942111 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 1096942111 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 1096942111 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 1096942111 sent size: 4 option: 6 dns-server 8.8.8.8
Sent DHCP DISCOVER (xid=0x4162021f, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ printf '%s\n' 'tag:group1,option:dns-server,1.1.1.1
tag:group1,tag:group2,option:router:10.0.0.1
tag:group2,option:domain-name,example.com'
+ printf '%s\n' '52:54:00:de:ad:01,set:group1,set:group2,10.0.0.101
52:54:00:de:ad:02,set:group2,10.0.0.102'
+ kill -HUP 1574
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
double free or corruption (out)
./test.sh: line 195: 1574 Aborted (core dumped)
MALLOC_CHECK_=3 dnsmasq -C "${tmpdir}/dnsmasq.d/dnsmasq.conf" --no-daemon
+ kill -HUP 1574
./test.sh: line 208: kill: (1574) - No such process
+ sleep 0.5
+ kill -0 1574
./test.sh: line 211: kill: (1574) - No such process
+ echo 'dnsmasq crashed at iteration 1'
dnsmasq crashed at iteration 1
+ echo FAIL
FAIL
+ exit 1
+ cleanup
+ rm -rf /tmp/tmp.iuEYHG2ngk
+ '[' 1574 -ne 0 ']'
+ kill -9 1574
./test.sh: line 18: kill: (1574) - No such process
+ '[' 1575 -ne 0 ']'
+ kill -9 1575
+ exit 1
And with dnsmasq from -proposed, the tests succeed
dnsmasq:
Installed: 2.91-0ubuntu0.22.04.1
Candidate: 2.91-0ubuntu0.22.04.1
Version table:
*** 2.91-0ubuntu0.22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64
Packages
100 /var/lib/dpkg/status
2.90-0ubuntu0.22.04.4 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64
Packages
500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64
Packages
2.86-1.1 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
+ DNSMASQ_PID=0
+ CLIENT_PID=0
+ '[' '' '!=' run_test ']'
+ unshare --user --net --mount --map-root-user ./test.sh run_test
+ DNSMASQ_PID=0
+ CLIENT_PID=0
+ '[' run_test '!=' run_test ']'
++ mktemp -d
+ tmpdir=/tmp/tmp.nD6LZXfHGQ
+ mkdir -p /tmp/tmp.nD6LZXfHGQ/dnsmasq.d
+ trap cleanup EXIT TERM
+ ip link set lo up
+ ip link add veth0 type veth peer name veth1
+ ip addr add 10.0.0.1/24 dev veth0
+ ip link set veth0 up
+ DHCP_OPTS=/tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ DHCP_HOSTS=/tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
+ DHCP_CONF=/tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dnsmasq.conf
+ cat
+ cat
+ cat
+ cat
+ chmod 755 /tmp/tmp.nD6LZXfHGQ/send_discover.py
+ DNSMASQ_PID=2341
+ echo 'DNSMASQ_PID is 2341'
DNSMASQ_PID is 2341
+ kill -0 2341
+ CLIENT_PID=2342
+ sleep 2
+ unshare --net -- sleep infinity
+ MALLOC_CHECK_=3
+ dnsmasq -C /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dnsmasq.conf --no-daemon
dnsmasq: started, version 2.91 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP
DHCPv6 no-Lua TFTP conntrack ipset no-nftset auth DNSSEC loop-detect inotify
dumpfile
dnsmasq: warning: no upstream servers configured
dnsmasq-dhcp: DHCP, IP range 10.0.0.10 -- 10.0.0.200, lease time 12h
dnsmasq-dhcp: DHCP, sockets bound exclusively to interface veth0
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ ip link set veth1 netns 2342
+ sleep 0.5
+ nsenter --net=/proc/2342/ns/net -- ip link set lo up
+ nsenter --net=/proc/2342/ns/net -- ip addr add 10.0.0.2/24 dev veth1
+ nsenter --net=/proc/2342/ns/net -- ip link set veth1 up
+ nsenter --net=/proc/2342/ns/net -- /tmp/tmp.nD6LZXfHGQ/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 4118827232 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 4118827232 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 4118827232 tags: group1, known, veth0
dnsmasq-dhcp: 4118827232 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 4118827232 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 4118827232 next server: 10.0.0.1
dnsmasq-dhcp: 4118827232 broadcast response
dnsmasq-dhcp: 4118827232 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 4118827232 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 4118827232 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 4118827232 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 4118827232 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 4118827232 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 4118827232 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 4118827232 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 4118827232 sent size: 4 option: 6 dns-server 8.8.8.8
Sent DHCP DISCOVER (xid=0xf58050e0, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ OPTS_VARIANTS=('tag:group1,option:dns-server,8.8.8.8
tag:group1,option:router,10.0.0.1' 'tag:group1,option:dns-server,1.1.1.1
tag:group1,tag:group2,option:router:10.0.0.1
tag:group2,option:domain-name,example.com'
'tag:group1,option:dns-server,9.9.9.9' 'tag:group1,option:dns-server,8.8.4.4
tag:group1,option:router,10.0.0.1
tag:group1,option:domain-name,example.org' 'tag:group1,option:dns-server,1.0.0.1
tag:group1,tag:group2,option:router,10.0.0.1')
+ HOSTS_VARIANTS=('52:54:00:de:ad:01,set:group1,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102'
'52:54:00:de:ad:01,set:group1,set:group2,10.0.0.101
52:54:00:de:ad:02,set:group2,10.0.0.102'
'52:54:00:de:ad:01,set:group1,10.0.0.101'
'52:54:00:de:ad:01,set:group1,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102'
'52:54:00:de:ad:01,set:group1,set:group2,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102')
+ cat
++ seq 1 5
+ for N in $(seq 1 5)
+ nsenter --net=/proc/2342/ns/net -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT group default qlen 1000
link/ether b6:55:04:02:58:f7 brd ff:ff:ff:ff:ff:ff link-netnsid 0
+ nsenter --net=/proc/2342/ns/net -- /tmp/tmp.nD6LZXfHGQ/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 3966824394 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 3966824394 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 3966824394 tags: group1, known, veth0
dnsmasq-dhcp: 3966824394 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 3966824394 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 3966824394 next server: 10.0.0.1
dnsmasq-dhcp: 3966824394 broadcast response
dnsmasq-dhcp: 3966824394 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 3966824394 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 3966824394 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 3966824394 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 3966824394 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 3966824394 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 3966824394 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 3966824394 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 3966824394 sent size: 4 option: 6 dns-server 8.8.8.8
Sent DHCP DISCOVER (xid=0xec70efca, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ printf '%s\n' 'tag:group1,option:dns-server,1.1.1.1
tag:group1,tag:group2,option:router:10.0.0.1
tag:group2,option:domain-name,example.com'
+ printf '%s\n' '52:54:00:de:ad:01,set:group1,set:group2,10.0.0.101
52:54:00:de:ad:02,set:group2,10.0.0.102'
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq: bad dhcp-option at line 2 of
/tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq: bad dhcp-option at line 2 of
/tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -0 2341
+ for N in $(seq 1 5)
+ nsenter --net=/proc/2342/ns/net -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT group default qlen 1000
link/ether b6:55:04:02:58:f7 brd ff:ff:ff:ff:ff:ff link-netnsid 0
+ nsenter --net=/proc/2342/ns/net -- /tmp/tmp.nD6LZXfHGQ/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 2220663336 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 2220663336 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 2220663336 tags: group1, group2, known, veth0
dnsmasq-dhcp: 2220663336 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 2220663336 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 2220663336 next server: 10.0.0.1
dnsmasq-dhcp: 2220663336 broadcast response
dnsmasq-dhcp: 2220663336 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 2220663336 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 2220663336 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 2220663336 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 2220663336 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 2220663336 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 2220663336 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 2220663336 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 2220663336 sent size: 4 option: 6 dns-server 1.1.1.1
Sent DHCP DISCOVER (xid=0x845ca228, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ printf '%s\n' tag:group1,option:dns-server,9.9.9.9
+ printf '%s\n' 52:54:00:de:ad:01,set:group1,10.0.0.101
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -0 2341
+ for N in $(seq 1 5)
+ nsenter --net=/proc/2342/ns/net -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT group default qlen 1000
link/ether b6:55:04:02:58:f7 brd ff:ff:ff:ff:ff:ff link-netnsid 0
+ nsenter --net=/proc/2342/ns/net -- /tmp/tmp.nD6LZXfHGQ/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 2594239301 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 2594239301 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 2594239301 tags: group1, known, veth0
dnsmasq-dhcp: 2594239301 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 2594239301 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 2594239301 next server: 10.0.0.1
dnsmasq-dhcp: 2594239301 broadcast response
dnsmasq-dhcp: 2594239301 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 2594239301 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 2594239301 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 2594239301 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 2594239301 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 2594239301 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 2594239301 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 2594239301 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 2594239301 sent size: 4 option: 6 dns-server 9.9.9.9
Sent DHCP DISCOVER (xid=0x9aa0f345, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ printf '%s\n' 'tag:group1,option:dns-server,8.8.4.4
tag:group1,option:router,10.0.0.1
tag:group1,option:domain-name,example.org'
+ printf '%s\n' '52:54:00:de:ad:01,set:group1,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102'
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -0 2341
+ for N in $(seq 1 5)
+ nsenter --net=/proc/2342/ns/net -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT group default qlen 1000
link/ether b6:55:04:02:58:f7 brd ff:ff:ff:ff:ff:ff link-netnsid 0
+ nsenter --net=/proc/2342/ns/net -- /tmp/tmp.nD6LZXfHGQ/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 4280619534 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 4280619534 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 4280619534 tags: group1, known, veth0
dnsmasq-dhcp: 4280619534 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 4280619534 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 4280619534 next server: 10.0.0.1
dnsmasq-dhcp: 4280619534 broadcast response
dnsmasq-dhcp: 4280619534 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 4280619534 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 4280619534 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 4280619534 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 4280619534 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 4280619534 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 4280619534 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 4280619534 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 4280619534 sent size: 4 option: 6 dns-server 8.8.4.4
Sent DHCP DISCOVER (xid=0xff25120e, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ printf '%s\n' 'tag:group1,option:dns-server,1.0.0.1
tag:group1,tag:group2,option:router,10.0.0.1'
+ printf '%s\n' '52:54:00:de:ad:01,set:group1,set:group2,10.0.0.101
52:54:00:de:ad:02,set:group1,10.0.0.102'
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -0 2341
+ for N in $(seq 1 5)
+ nsenter --net=/proc/2342/ns/net -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: veth1@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT group default qlen 1000
link/ether b6:55:04:02:58:f7 brd ff:ff:ff:ff:ff:ff link-netnsid 0
+ nsenter --net=/proc/2342/ns/net -- /tmp/tmp.nD6LZXfHGQ/send_discover.py
52:54:00:de:ad:01
dnsmasq-dhcp: 4276090248 available DHCP range: 10.0.0.10 -- 10.0.0.200
dnsmasq-dhcp: 4276090248 DHCPDISCOVER(veth0) 52:54:00:de:ad:01
dnsmasq-dhcp: 4276090248 tags: group1, group2, known, veth0
dnsmasq-dhcp: 4276090248 DHCPOFFER(veth0) 10.0.0.101 52:54:00:de:ad:01
dnsmasq-dhcp: 4276090248 requested options: 1:netmask, 3:router, 6:dns-server
dnsmasq-dhcp: 4276090248 next server: 10.0.0.1
dnsmasq-dhcp: 4276090248 broadcast response
dnsmasq-dhcp: 4276090248 sent size: 1 option: 53 message-type 2
dnsmasq-dhcp: 4276090248 sent size: 4 option: 54 server-identifier 10.0.0.1
dnsmasq-dhcp: 4276090248 sent size: 4 option: 51 lease-time 12h
dnsmasq-dhcp: 4276090248 sent size: 4 option: 58 T1 6h
dnsmasq-dhcp: 4276090248 sent size: 4 option: 59 T2 10h30m
dnsmasq-dhcp: 4276090248 sent size: 4 option: 1 netmask 255.255.255.0
dnsmasq-dhcp: 4276090248 sent size: 4 option: 28 broadcast 10.0.0.255
dnsmasq-dhcp: 4276090248 sent size: 4 option: 3 router 10.0.0.1
dnsmasq-dhcp: 4276090248 sent size: 4 option: 6 dns-server 1.0.0.1
Sent DHCP DISCOVER (xid=0xfedff588, iface=veth1, mac=52:54:00:de:ad:01)
Received DHCP type=2 (OFFER) from 10.0.0.1
DHCP OFFER received
+ '[' 0 -ne 0 ']'
+ printf '%s\n' ''
+ printf '%s\n' ''
+ kill -HUP 2341
+ sleep 0.5
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -HUP 2341
dnsmasq: read /etc/hosts - 8 names
dnsmasq-dhcp: + sleep 0.5
read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-hosts.conf
dnsmasq-dhcp: read /tmp/tmp.nD6LZXfHGQ/dnsmasq.d/dhcp-opts.conf
+ kill -0 2341
+ echo PASS
PASS
+ exit 0
+ cleanup
+ rm -rf /tmp/tmp.nD6LZXfHGQ
+ '[' 2341 -ne 0 ']'
+ kill -9 2341
+ '[' 2342 -ne 0 ']'
+ kill -9 2342
+ exit 0
I'm confident enough that the 2.91 backport fixes this issue, so I'm
tagging this as verified.
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2026757
Title:
[SRU] dnsmasq on Ubuntu Jammy crashes on neutron-dhcp-agent updates
To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/2026757/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs