Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Julian Wollrath
From 14d0625a337511f4ab105c8187c5219abe4e152a Mon Sep 17 00:00:00 2001 From: Julian Wollrath jwollr...@web.de Date: Thu, 23 Jul 2015 14:22:23 +0200 Subject: [PATCH] Copy *.link files from /etc/systemd/network to initramfs The manpage of systemd.link says, that everything in

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Michael Biebl
Am 23.07.2015 um 15:09 schrieb Felipe Sateler: On 23 July 2015 at 09:24, Michael Biebl bi...@debian.org wrote: The problem might be, that we don't know, which link files to copy. We will need to check, if it's actually safe to copy all of /etc/systemd/network/*.link into the initramfs. For

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Felipe Sateler
On 23 July 2015 at 09:24, Michael Biebl bi...@debian.org wrote: The problem might be, that we don't know, which link files to copy. We will need to check, if it's actually safe to copy all of /etc/systemd/network/*.link into the initramfs. For reference, dracut appears to just copy everything

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Julian Wollrath
-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

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Julian Wollrath
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 The problem probably was introduced in commit 7b5eb265bbb2b in the systemd packaging repo, specifically in this hunk: diff --git a/debian/extra/initramfs-tools/hooks/udev b/debian/extra/initramfs-tools/hooks/udev index beba2eb..9704ef6 100755 - ---

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Michael Biebl
Am 23.07.2015 um 14:07 schrieb Julian Wollrath: 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

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Julian Wollrath
+if [ -d /etc/systemd/network/ ]; then + cp -p /etc/systemd/network/*.link $DESTDIR/lib/systemd/network/ +fi This could break update-initramfs if no *.link files in /etc/systemd/network exist. The new version of the patch, which I already send out, adjusts the check, so that that does not

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Michael Biebl
Am 23.07.2015 um 14:25 schrieb Julian Wollrath: diff --git a/debian/extra/initramfs-tools/hooks/udev b/debian/extra/initramfs-tools/hooks/udev index cfe5085ae079..d3d08aa48f93 100755 --- a/debian/extra/initramfs-tools/hooks/udev +++ b/debian/extra/initramfs-tools/hooks/udev @@ -41,6 +41,10

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Michael Biebl
Am 23.07.2015 um 14:07 schrieb Julian Wollrath: 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

Bug#793374: systemd: Does not honour /etc/systemd/network/*.link

2015-07-23 Thread Josh Triplett
On Thu, 23 Jul 2015 14:07:36 +0200 Julian Wollrath jwollr...@web.de wrote: 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