[Bug 1877271] Re: networkd does not enable ipv6 when requested

Brian Murray brian at ubuntu.com
Thu May 14 20:20:03 UTC 2020


Hello Dan, or anyone else affected,

Accepted systemd into eoan-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/systemd/242-7ubuntu3.9
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
eoan to verification-done-eoan. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-eoan. In either case, without details of your testing we will not
be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: systemd (Ubuntu Eoan)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-eoan

-- 
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/1877271

Title:
  networkd does not enable ipv6 when requested

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Eoan:
  Fix Committed

Bug description:
  [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 at lp1859862-b:~$ echo 1 | sudo tee /proc/sys/net/ipv6/conf/ens3/disable_ipv6
  1

  the interface should not contain any ipv6 addresses:

  ubuntu at lp1859862-b:~$ ip -6 a show ens3
  ubuntu at lp1859862-b:~$

  restart networkd; it should enable ipv6 as ipv6 addresses are
  configured, but it does not:

  ubuntu at lp1859862-b:~$ sudo systemctl restart systemd-networkd
  ubuntu at lp1859862-b:~$ ip -6 a show ens3
  ubuntu at 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.

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



More information about the foundations-bugs mailing list