Bug#917128: udev 240 breaks network interface naming

Wolfgang Walter wolfgang.walter at stwm.de
Fri Jan 18 10:56:28 GMT 2019


On Fri, 11 Jan 2019 17:44:48 +0100 Michael Biebl <biebl at debian.org> wrote:
> Version: 240-3
> 
> On Wed, 9 Jan 2019 22:41:24 +0100 Michael Biebl <biebl at debian.org> wrote:
> > On Fri, 28 Dec 2018 15:24:03 +0100 Wolfgang Walter
> > <wolfgang.walter at stwm.de> wrote:
> > > On Friday, 28 December 2018 15:05:06 CET Michael Biebl wrote:
> > > > On Sun, 23 Dec 2018 01:51:00 +0100 Wolfgang Walter
> > > > 
> > > > <wolfgang.walter at stwm.de> wrote:
> > > > > systemd-networkd from 240-1 though crashes with
> > > > > 
> > > > > 	Assertion 'IN_SET(link->state, LINK_STATE_CONFIGURING,
> > > > > 	LINK_STATE_CONFIGURING, LINK_STATE_FAILED, LINK_STATE_LINGER)' 
failed at
> > > > > 	../src/network/network/networkd-link.c:934, function 
address_handler().
> > > > > 	Aborting.
> > > > That error message looks a lot like
> > > > 
> > > > https://github.com/systemd/systemd/issues/11272
> > > > 
> > > > Would you mind testing the pull request at
> > > > https://github.com/systemd/systemd/pull/11274
> > > > 
> > > > If this fixes your problem, we can consider cherry-picking that fix.
> > > 
> > > Will do, but can't do it immediately as I'm not back till 2.1.2019
> > 
> > I've pulled this patch and applied it to 240-3.
> 
> 
> As I'm pretty sure this is fixed in 240-3, I'm going to close the bug
> report.
> Please reopen if you still have problems.
> 
> Regards,
> Michael
> 

The renaming problem still exists.

I tried to workaround it by changing 10-netint.link as follows:

10-netint.link:
[Match]
MACAddress=00:01:2e:77:a5:45
Name=eth*

[Link]
Name=netint
WakeOnLan=off


As the vlan interface is named kbs this should not match, but the physical 
interface which starts with eth0 should.

But the vlan interface still ist renamed to renameX and later udev wants to 
change its name into netint, so kbs matches.

The systemd-doku says:
	"A link file is said to match a device if each of the entries in the 
	"[Match]" section matches, or if the section is empty."


Regards,
-- 
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts



More information about the Pkg-systemd-maintainers mailing list