[Bug 2098183] [NEW] Preserve IPv6 configurations when `KeepConfiguration=dhcp-on-stop` is set

Chengen Du 2098183 at bugs.launchpad.net
Thu Feb 13 08:23:18 UTC 2025


Public bug reported:

[Impact]
The IPv6 configuration is being cleared even though `KeepConfiguration` is set to `yes`, causing the iSCSI backend system to hang during shutdown.

[Fix]
Systemd upstream has addressed this issue.
https://github.com/systemd/systemd/pull/34989

[Test Plan]
1. Set up a machine with an iSCSI backend in an IPv6-only environment.  
2. Configure the `KeepConfiguration` option for each network device individually using drop-in configuration files (e.g., `/etc/systemd/network/*.network.d/*.conf`) or set the `"critical"` option to `true` in the Netplan configuration.  
3. Power off the machine and verify that the system does not hang.

[Where problems could occur]
The patches ensure that DHCPv6 addresses are preserved when `KeepConfiguration=yes` is set. However, if any regressions occur, the IPv6 connection may be impacted.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2098183

Title:
  Preserve IPv6 configurations when `KeepConfiguration=dhcp-on-stop` is
  set

Status in systemd package in Ubuntu:
  New

Bug description:
  [Impact]
  The IPv6 configuration is being cleared even though `KeepConfiguration` is set to `yes`, causing the iSCSI backend system to hang during shutdown.

  [Fix]
  Systemd upstream has addressed this issue.
  https://github.com/systemd/systemd/pull/34989

  [Test Plan]
  1. Set up a machine with an iSCSI backend in an IPv6-only environment.  
  2. Configure the `KeepConfiguration` option for each network device individually using drop-in configuration files (e.g., `/etc/systemd/network/*.network.d/*.conf`) or set the `"critical"` option to `true` in the Netplan configuration.  
  3. Power off the machine and verify that the system does not hang.

  [Where problems could occur]
  The patches ensure that DHCPv6 addresses are preserved when `KeepConfiguration=yes` is set. However, if any regressions occur, the IPv6 connection may be impacted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2098183/+subscriptions




More information about the foundations-bugs mailing list