Bug#809339: systemd: Ignores previously supported & documented method of disabling PredictableNetworkInterfaceNames
Neil Williams
codehelp at debian.org
Tue Dec 29 16:08:01 GMT 2015
Package: systemd
Version: 228-2+b1
Severity: normal
This particular issue arises from this documentation:
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
It may also be related to #789439.
I adapted vmdebootstrap to mask udev's rule file, as advised in the first of the
documented methods of disabling this support.
"You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules"
http://git.liw.fi/cgi-bin/cgit/cgit.cgi/vmdebootstrap/tree/vmdebootstrap/base.py?id=vmdebootstrap-1.3#n208
That worked during testing. Since releasing that change, systemd has apparently dropped
support for this method and a VM built with this change no longer raises a network interface
using DHCP.
$ sudo vmdebootstrap --image=sid.img --distribution=unstable --grub --enable-dhcp --verbose
QEMU is capable of booting images with different network configurations, so it is not
simple for vmdebootstrap to know in advance what names systemd will generate - hence
the change to assert the previous behaviour. vmdebootstrap is also used to generate
images for use on ARM dev boards like beaglebone-black and cubietruck, so having a
consistent interface that can be configured to use DHCP at boot is important.
-- Package-specific info:
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii adduser 3.113+nmu3
ii libacl1 2.2.52-2
ii libapparmor1 2.10-2+b2
ii libaudit1 1:2.4.5-1
ii libblkid1 2.27.1-1
ii libc6 2.21-6
ii libcap2 1:2.24-12
ii libcap2-bin 1:2.24-12
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.4-4
ii libkmod2 22-1
ii liblzma5 5.1.1alpha+20120614-2.1
ii libmount1 2.27.1-1
ii libpam0g 1.1.8-3.1
ii libseccomp2 2.2.3-2
ii libselinux1 2.4-3
ii libsystemd0 228-2+b1
ii mount 2.27.1-1
ii sysv-rc 2.88dsf-59.2
ii util-linux 2.27.1-1
Versions of packages systemd recommends:
ii dbus 1.10.6-1
ii libpam-systemd 228-2+b1
Versions of packages systemd suggests:
pn systemd-container <none>
pn systemd-ui <none>
Versions of packages systemd is related to:
ii udev 228-2+b1
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list