[Bug 1926139] Re: dhclient doesn't receive dhcp offer from kernel
Chris Patterson
1926139 at bugs.launchpad.net
Thu May 26 12:03:46 UTC 2022
** Attachment added: "sequential test"
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1926139/+attachment/5593046/+files/test-sequential.sh
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1926139
Title:
dhclient doesn't receive dhcp offer from kernel
Status in isc-dhcp package in Ubuntu:
New
Bug description:
Platform: Qemu/libvirt on AMD64
Ubuntu version: 20.04
isc-dhcp-client version: 4.4.1-2.1ubuntu5
Problem: When dhclient is used during boot every few reboots the DHCP OFFER packets aren't pushed from the kernel to dhclient. The DISCOVER packets can be seen in strace and tcpdump. The OFFER packets can be seen in tcpdump, but no read event is triggered.
Ubuntu 18.04 doesn't have the problem, neither does Debian 10. Building these dhclient versions on Ubuntu 20.04 alleviates the problem a little, but it still occurs. So this issue might also be kernel related.
Attached diff shows a strace of all threads and a pcap showing the
tcpdump output.
Edit:
- Sometimes the dhclient command does receive the OFFER packet and connection is restored.
- In my testing running dhclient manually from the terminal when the OFFERs aren't received will result in a new dhclient session which does receive the OFFER packet and connection is restored.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1926139/+subscriptions
More information about the foundations-bugs
mailing list