8.1.9 - double free, resolvconf
Matěj Grégr
Fri May 01 13:39:56 2020Hello Roy,
tried to use dhcpcd on centos8 and I see some weird issues when dhcpcd
tries to set resolvers. The full log with dhcpcd -d is following:
dhcpcd-8.1.9 starting
bond0: executing `/usr/libexec/dhcpcd-run-hooks' PREINIT
bond0: executing `/usr/libexec/dhcpcd-run-hooks' CARRIER
DUID 00:04:00:00:00:00:00:00:00:00:00:00:ac:1f:6b:bd:26:80
bond0: IAID 6b:bd:26:81
bond0: delaying IPv6 router solicitation for 0.9 seconds
bond0: delaying IPv4 for 0.9 seconds
bond0: soliciting a DHCP lease
bond0: sending DISCOVER (xid 0xc599e039), next in 3.7 seconds
bond0: soliciting an IPv6 router
bond0: sending Router Solicitation
bond0: sending DISCOVER (xid 0xc599e039), next in 8.5 seconds
bond0: sending Router Solicitation
bond0: offered 100.90.110.127 from 100.90.110.1
bond0: sending REQUEST (xid 0xc599e039), next in 3.5 seconds
bond0: sending Router Solicitation
bond0: sending REQUEST (xid 0xc599e039), next in 8.0 seconds
bond0: acknowledged 100.90.110.127 from 100.90.110.1
bond0: probing address 100.90.110.127/24
bond0: probing for 100.90.110.127
bond0: ARP probing 100.90.110.127 (1 of 3), next in 1.7 seconds
bond0: ARP probing 100.90.110.127 (2 of 3), next in 1.6 seconds
bond0: sending Router Solicitation
bond0: no IPv6 Routers available
bond0: ARP probing 100.90.110.127 (3 of 3), next in 2.0 seconds
bond0: probing, ignoring 100.90.110.127 from 100.90.110.1
bond0: DAD completed for 100.90.110.127
bond0: leased 100.90.110.127 for 43200 seconds
bond0: renew in 21600 seconds, rebind in 37800 seconds
bond0: writing lease `/var/lib/dhcpcd/bond0.lease'
bond0: adding IP address 100.90.110.127/24 broadcast 100.90.110.255
bond0: adding route to 100.90.110.0/24
bond0: adding default route via 100.90.110.1
bond0: ARP announcing 100.90.110.127 (1 of 2), next in 2.0 seconds
bond0: executing `/usr/libexec/dhcpcd-run-hooks' BOUND
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service
not found.
free(): double free detected in tcache 2
/usr/libexec/dhcpcd-hooks/20-resolv.conf: line 98: 14542 Done
printf %s "$conf"
14543 Aborted (core dumped) | "$resolvconf" -a
"$ifname"
forking to background
forked to background, child pid 14552
The address is configured properly but addresses of resolvers are not
written to resolv.conf. Any idea how to fix this?
Best regards,
M.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
| Re: 8.1.9 - double free, resolvconf | Roy Marples |