Bug#793374: systemd: Does not honour /etc/systemd/network/*.link
Julian Wollrath
jwollrath at web.de
Thu Jul 23 13:07:36 BST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Package: systemd
Version: 222-2
Severity: normal
Dear Maintainer,
I change my network device names via an .link definition in
/etc/systemd/network/01-ethernet.link with the following content:
[Match]
MACAddress=xx:xx:xx:xx:xx:xx
OriginalName=eth*
Driver=e1000e
[Link]
Name=eth0
The update to systemd 222-2 broke that. The device gets renamed to
enp0s25, disregarding the .link file. A look at the logs shows, that
this happens, before the root filesystem is mounted, so when the system
is still controlled by the initramfs. The manpage of systemd.link says,
that everything in /etc/systemd/network/*.link takes precedence over
/lib/systemd/network and others. Hence, the content
of /etc/system/network should also be contained in the initramfs, so
that this is true.
Thank you.
With best regards,
Julian Wollrath
- -- Package-specific info:
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.3 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (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.9.2-3
ii libaudit1 1:2.4.2-1
ii libblkid1 2.26.2-6
ii libc6 2.19-19
ii libcap2 1:2.24-9
ii libcap2-bin 1:2.24-9
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.3-2
ii libkmod2 21-1
ii liblzma5 5.1.1alpha+20120614-2.1
ii libmount1 2.26.2-6
ii libpam0g 1.1.8-3.1
ii libseccomp2 2.2.1-2
ii libselinux1 2.3-2+b1
ii libsystemd0 222-2
ii mount 2.26.2-6
ii sysv-rc 2.88dsf-59.2
ii udev 222-2
ii util-linux 2.26.2-6
Versions of packages systemd recommends:
ii dbus 1.8.20-1
ii libpam-systemd 222-2
Versions of packages systemd suggests:
pn systemd-ui <none>
- -- Configuration Files:
/etc/systemd/logind.conf changed [not included]
/etc/systemd/timesyncd.conf changed [not included]
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCgAGBQJVsNkTAAoJEFl2dmpRMS8zJ2wIAJhDcm2Nfl6uIZThw9fTvMRj
FGXyMnbGjenKNj7baLohtmm3Se/k/gzBoCfvN/xBDxGaoOCfNfZwV9vyq0tD9sLl
7MbKeZ4cZRS9+CmT1oD/sBhH15aGruDJlrZkNFg8jep+cT9Mm7JwTn6vOFRmgAdr
ypWuWJoWFMkBEm+71eA3iyjcB8wSx/H8HIA0ZyR/DtCJM5gfdYJHzd21YCpb2QRk
5CTcyu2YMjr+YMbTEEBVs+D31WZkzZ52/2ellxNPwy5EipXcbjG4YnWNtg0G0HnU
EfBjuYlGzxU+VYlZyME2PanlK62skdL9dr4Gufk5YnX4Fl6Jqq+64Uqvu49pwdY=
=kovn
-----END PGP SIGNATURE-----
More information about the Pkg-systemd-maintainers
mailing list