Skip to content

Fix WIDE-DHCPv6 releasing assigned stateful IPv6 when killed by kill_dhcp_client() (#1072526)

When kill_dhcp_client() is called, kill-all-dhcp script tries to kill all DHCP clients by sending a SIGTERM signal.

However, upon receipt of the SIGHUP or SIGTERM signals, WIDE-DHCPv6 will remove all stateful resources from the system as stated in docs (see also dhcp6c.c, line 493). This breaks IPv6 on all systems using stateful DHCPv6, and completely breaks the installer in IPv6-only environments as it can’t fallback to IPv4. In particular, a lot of OpenStack-based hosting providers use stateful DHCPv6.

This PR work around this issue by making kill-all-dhcp killing dhcp6c process by sending a SIGKILL signal instead of a SIGTERM one.

Original bug report: #1072526. Install log: install_syslog.log.

Merge request reports

Loading