dhclient not releasing IPv6 address
name: Bug report
about: Create a report to help us improve
Describe the bug dhclient not releasing the IPv6 address where as IPv4 address release working fine.
To Reproduce Steps to reproduce the behavior:
- Run dhclient -6 with regular configuration.
- Send signal 15 to kill the dhclient process.
- Observed release of the IP address not happening. The following message only seen from dhclient logs.
Received signal 15, initiating shutdown.
Expected behavior As part of signal handling dhclient should call the do_release6 for AF_INET6 family. This will gracefully release IPv6 address and calls the script file also. Where as, dhclient is gracefully releasing the IPv4 address. We can observe the following logs for the same.
Received signal 15, initiating shutdown.
DHCPRELEASE of <SELF IP ADDRESS> on <INTERFACE NAME> to <DHCP SERVER IP> port 67
Killed
Environment:
- ISC DHCP version: isc-dhclient-4.4.1
- OS: Linux CentOS
- Which features were compiled in: dhclient
Additional Information NOT sure this behavior is w.r.to IPv6 architecture only. Would like to make sure not missing things from isc-dhclient side.
Some initial questions
- Are you sure your feature is not already implemented in the latest ISC DHCP version? Yes
- Are you sure your requrested feature is not already impemented in Kea? Perhaps it's a good time to consider migration? Don't know
- Are you sure what you would like to do is not possible using some other mechanisms? Yes
- Have you discussed your idea on dhcp-users and/or dhcp-workers mailing lists? NO