[systemd-devel] Persistent virtio device name removal

Tom Gundersen teg at jklm.no
Thu Jul 3 16:31:52 PDT 2014


On Fri, Jul 4, 2014 at 12:55 AM, Michael Marineau
<michael.marineau at coreos.com> wrote:
> Working on bumping to 215 over here in CoreOS land, but I've got a
> question regarding the removal of persistent device names for virtio
> devices since changing the network device names creates a difficult
> upgrade path from 212. The commit was:
>
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=bf81e792f3c0aed54edf004c1c95cc6f6d81d0ee
> "udev: persistent naming - we cannot use virtio numbers as they are not stable"
>
> The commit doesn't say what the issue was, in what situations are the
> virtio numbers not stable?

They suffer from the same problem as the ethX enumeration. In many
cases they appear to be stable (as drivers typically get loaded in the
same order etc), but there is nothing ensuring it, so we can't rely on
that.

Cheers,

Tom


More information about the systemd-devel mailing list