Bug#799034: udev 226 changes virtio interface names on upgrades

2015-09-15 Thread Martin Pitt
Package: udev
Severity: grave
Version: 226-1

When upgrading a QEMU VM from 225 to 226, the "eth0" network interface
(virtio) changes to "ens3".

This is due to https://github.com/systemd/systemd/pull/1119 . While
this is generally a good thing for new installs, this breaks upgrades.

I propose to make udev's postinst create a .link file
which disables predictable names for virtio devices on upgrades.

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature


Bug#799034: udev 226 changes virtio interface names on upgrades

2015-09-15 Thread Michael Biebl
Am 15.09.2015 um 08:26 schrieb Martin Pitt:
> Package: udev
> Severity: grave
> Version: 226-1
> 
> When upgrading a QEMU VM from 225 to 226, the "eth0" network interface
> (virtio) changes to "ens3".
> 
> This is due to https://github.com/systemd/systemd/pull/1119 . While
> this is generally a good thing for new installs, this breaks upgrades.
> 
> I propose to make udev's postinst create a .link file
> which disables predictable names for virtio devices on upgrades.

Hm, this is only for users upgrading from testing and unstable which
have used the stretch alpha installers, right?

Do we really need to bother in that case?


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



signature.asc
Description: OpenPGP digital signature


Bug#799034: udev 226 changes virtio interface names on upgrades

2015-09-15 Thread Marco d'Itri
On Sep 15, Michael Biebl  wrote:

> Hm, this is only for users upgrading from testing and unstable which
> have used the stretch alpha installers, right?
> 
> Do we really need to bother in that case?
I think that the fix is small enough that we can keep it until the 
release and then drop it.

-- 
ciao,
Marco


pgpZ0bHUfwTWE.pgp
Description: PGP signature


Bug#799034: udev 226 changes virtio interface names on upgrades

2015-09-15 Thread Martin Pitt
Michael Biebl [2015-09-15 13:28 +0200]:
> Hm, this is only for users upgrading from testing and unstable which
> have used the stretch alpha installers, right?
> 
> Do we really need to bother in that case?

Mostly, yes. For Jessie updates we have the bigger "disable the new
names entirely if /etc/udev/rules.d/70-persistent-net.rules does not
exist" hammer in place. However, I ran into this bug in several VMs
already; and I can't guarantee that no Jessie user is using QEMU (or
other virtualization that can use virtio) and does not have a
0-persistent-net.rules -- after all, you might have multiple
interfaces and use the e1000 or any other driver.

So, it may not affect a lot of people, but I'd still like to keep this
snippet for a while. I made the bug RC so that we have some more time
to investigate/discuss the impact.

Thanks,

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature