Public bug reported: [impact]
if networkd is configured with ipv6 address but the 'disable_ipv6' sysctl is enabled, networkd does not enable it and set the ipv6 configuration. [test case] [Match] Name=ens3 [Network] DHCP=ipv4 LinkLocalAddressing=ipv6 Address=2001:db8::100/64 manually disable ipv6 for the interface: ubuntu@lp1859862-b:~$ echo 1 | sudo tee /proc/sys/net/ipv6/conf/ens3/disable_ipv6 1 the interface should not contain any ipv6 addresses: ubuntu@lp1859862-b:~$ ip -6 a show ens3 ubuntu@lp1859862-b:~$ restart networkd; it should enable ipv6 as ipv6 addresses are configured, but it does not: ubuntu@lp1859862-b:~$ sudo systemctl restart systemd-networkd ubuntu@lp1859862-b:~$ ip -6 a show ens3 ubuntu@lp1859862-b:~$ [regression potential] any regression would likely result in failure to configure ipv6 addresses/routes. [scope] this is needed only for Eoan. this is fixed by commit 57ad76074670d4859e808a6aabd69fd6e58514c5, which is included starting in v243, so this is fixed in Focal and later. this bug was introduced by a series of patches starting at 54a1a535bd60f13964bbddd8f381601e33e8e56f, which is included starting in v243, but was also pulled into Debian v242-4, and so included in Eoan. This bug is not present in earlier versions so is not needed in Xenial or Bionic. [other info] this is a follow on for the fix in bug 1859862. ** Affects: systemd (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: systemd (Ubuntu Eoan) Importance: Low Assignee: Dan Streetman (ddstreet) Status: In Progress ** Also affects: systemd (Ubuntu Eoan) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu Eoan) Assignee: (unassigned) => Dan Streetman (ddstreet) ** Changed in: systemd (Ubuntu Eoan) Status: New => In Progress ** Changed in: systemd (Ubuntu) Status: New => Fix Released ** Changed in: systemd (Ubuntu Eoan) Importance: Undecided => Medium ** Changed in: systemd (Ubuntu Eoan) Importance: Medium => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1877271 Title: networkd does not enable ipv6 when requested To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1877271/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs