Skip to contentSkip to conversation

New: systemd-networkd fails on 5.2 - same version works on 5.1.16

Bug 204099 Stephen Hemminger 3 participants 3 messages Jul 9, 2019 – Jul 11, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Looks like the stricter netlink validation broke userspace. This is bad.

Begin forwarded message:

Date: Tue, 09 Jul 2019 00:44:01 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 204099] New: systemd-networkd fails on 5.2 - same version works on 5.1.16

https://bugzilla.kernel.org/show_bug.cgi?id=204099

            Bug ID: 204099
           Summary: systemd-networkd fails on 5.2 - same version works on
                    5.1.16
           Product: Networking
           Version: 2.5
    Kernel Version: 5.2
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

This is more FYI, I haven't had time to properly debug it.

Booting 5.2 causes systemd-networkd to fail to bring any interface up, it will fail with: "Could not bring up interface: Invalid argument"

However, booting 5.1.16 with the same software works just fine.

Sounds like something was changed in, what I assume is, the netlink API

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw
Quoted 2 lines · Stephen Hemminger

Looks like the stricter netlink validation broke userspace. This is bad.

I believe other reports have traced this to

commit 7dc2bccab0ee37ac28096b8fcdc390a679a15841

Author: Maxim Mikityanskiy <[email protected]>
Date:   Tue May 21 06:40:04 2019 +0000

Validate required parameters in inet6_validate_link_af

#2 lore raw
Quoted 3 lines · David Ahern
Quoted 2 lines · Stephen Hemminger

Looks like the stricter netlink validation broke userspace. This is bad.

Actually, the initial bug in systemd and it is where it should be fixed.

Quoted 8 lines

I believe other reports have traced this to

commit 7dc2bccab0ee37ac28096b8fcdc390a679a15841

Author: Maxim Mikityanskiy <[email protected]>
Date:   Tue May 21 06:40:04 2019 +0000

Validate required parameters in inet6_validate_link_af