Bug#919390: udev: network interface gets ID_NET_NAME even when NAME has been set by /etc/udev/rules.d/70-persistent-net.rules

Michal Hocko mstsxfx at gmail.com
Tue Jan 15 13:59:35 GMT 2019


On Tue, Jan 15, 2019 at 02:36:46PM +0100, Michael Biebl wrote:
> Am 15.01.19 um 14:32 schrieb Michal Hocko:
> > On Tue, Jan 15, 2019 at 02:28:55PM +0100, Michael Biebl wrote:
[...]
> >> Have you made sure to rebuild the initramfs after changing the udev rule?
> > 
> > Hmm, I haven't but is this really important? My eth driver is built in
> > CONFIG_E1000E=y
> 
> Yes, you must update the initramfs so it contains
> /etc/udev/rules.d/70-persistent-net.rules,

I have checked my initrd and it seems to have that rule under
lib/udev/rules.d/70-persistent-net.rules

Besides that there is apparatently renaming from eth0->lan0 happening as
per kernel log mentioned earlier:

[    3.563937] e1000e 0000:00:1f.6 lan0: renamed from eth0

Anyway, I will try to regenerate and reboot later just to be sure.
Thanks!
-- 
Michal Hocko



More information about the Pkg-systemd-maintainers mailing list