[SRU] IPv6 link local address is assigned even when LinkLocalAddressing=no|ipv4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
New
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Medium
|
Dan Streetman | ||
Bionic |
Fix Released
|
Medium
|
Dan Streetman | ||
Disco |
Won't Fix
|
Medium
|
Dan Streetman | ||
Eoan |
Fix Released
|
Medium
|
Dan Streetman | ||
Focal |
Fix Released
|
Medium
|
Dan Streetman |
Bug Description
[impact]
in some situations when a networkd interface is configured with LinkLocalAddres
[test case]
see comment 3.
note I was only able to reproduce this at boot time; if the vlan interface is removed (i.e. 'sudo ip l del pppoe') and then networkd restarted, the pppoe interface is created and does not have a link-local address. This is due to this bug being triggered by timing, as a vlan interface is raised by the kernel when its parent interface is raised, in this case by networkd itself.
[regression potential]
this changes how ipv6ll addresses are managed and dropped, as well as changing when foreign addresses are dropped (later in config process). Any regressions would likely be around incorrectly setting ipv6ll addresses, or complete failure to complete interface configuration.
[scope]
this is fixed upstream by:
https:/
and also requires the upstream PR referenced in the original description:
upstream patch: https:/
this is required for focal (uploaded already), eoan, and bionic. It may be required for xenial.
[other info]
Note, the original description below is incorrect, the issue/patch it references is not enough to fix this issue.
original description:
--
upstream issue: https:/
upstream patch: https:/
The upstream fix will be available in systemd 244.
Backport please. Thanks.
Changed in systemd: | |
status: | Unknown → Fix Released |
Changed in systemd (Ubuntu Disco): | |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Medium |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Eoan): | |
importance: | Undecided → Medium |
tags: | added: bionic ddstreet disco systemd |
Changed in systemd: | |
status: | Unknown → New |
Changed in systemd (Ubuntu Eoan): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Focal): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Eoan): | |
status: | Fix Released → In Progress |
Changed in systemd (Ubuntu Focal): | |
status: | Fix Released → In Progress |
tags: |
added: ddstreet eoan focal removed: disco |
description: | updated |
Changed in systemd (Ubuntu Eoan): | |
status: | Incomplete → In Progress |
Changed in systemd (Ubuntu Bionic): | |
status: | Incomplete → In Progress |
Changed in systemd (Ubuntu Eoan): | |
status: | Fix Committed → In Progress |
Changed in systemd (Ubuntu Bionic): | |
status: | Fix Committed → In Progress |
Emm, I think the issue I referenced above is an incorrect one.
https:/ /github. com/systemd/ systemd/ issues/ 9890 /github. com/systemd/ systemd/ pull/11423
&
https:/
I think `debian/ patches/ networkd- honour- LinkLocalAddres sing.patch` might be an incorrect backport of this upstream bug.