Bug#795494: udev: Interface is incorrectly renamed at boot, outdated nonexistent name used

Michael Biebl biebl at debian.org
Fri Aug 14 20:28:12 BST 2015


Am 14.08.2015 um 19:15 schrieb Vladimir Kudrya:
> Package: udev
> Version: 224-1
> Severity: normal
> 
> Dear Maintainer,
> After a switch to predictable interface naming, I am still using udev rule to
> name the interfaces conveniently. (This is still valid, but not in auto, right?)
> 
> Whle changing network configuration I needed to rename one of my ifaces
> from 'lan1' to 'wan0', I edited persistent-net-rules file this way:
> ------------
> # PCI device 0x168c:0x002c (atl1c)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="wan0"
> ------------
> 
> Then reloaded udev rules, and removed/inserted atl1c module. The interface came
> back as 'wan0' as expected.
> 
> But when I later rebooted the machine, the interface was named 'lan1' again.
> Despite there are no traces of 'lan1' left anywhere in /etc or /lib/udev or
> /var/lib.
> Journal said this:
> -----------
> Aug 14 19:41:27 hostname kernel: atl1c 0000:01:00.0 lan1: renamed from eth0
> -----------

That sounds like you have an outdated udev rule in the initramfs, which
renames your interface.
Please run "update-initramfs -u" and then test again.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150814/747ce7c3/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list