Comment # 30 on bug 960669 from
(In reply to Jan Engelhardt from comment #27)
> > (In reply to Fabian Vogt from comment #22)
> > 
> > udev is restarted once the system has switched to the real rootfs and it
> > should apply *all* rules at this point, including renaming the net interface.
> 
> Except that renaming the net interface is NOT done when it already WAS
> renamed at some point in the past.
> 
> ^ Which is what happens with virtio-net inside openqa.

That's not what I'm seeing here:

$ journalctl -b
...
Jan 26 12:03:36 linux-nypb kernel: virtio_net virtio0 ens3: renamed from eth0
Jan 26 12:03:36 linux-nypb systemd-udevd[321]: renamed network interface eth0
to ens3
...
Jan 26 12:03:42 linux-nypb kernel: virtio_net virtio0 eth0: renamed from ens3
Jan 26 12:03:42 linux-nypb systemd-udevd[655]: renamed network interface ens3
to eth0
...

$ ip show eth0
ip link show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
mode DEFAULT group default qlen 1000
    link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff

$ lsinitrd | grep 70-persistent-net.rules
$

$ lsinitrd | grep virtio_net
-rw-r--r--   1 root     root        56818 Jan 18 12:09
lib/modules/4.4.0-1-default/kernel/drivers/net/virtio_net.ko


You are receiving this mail because: