[packages/systemd] Drop the interface renaming disabling hack

jajcus jajcus at pld-linux.org
Tue Jun 30 13:39:14 CEST 2015


commit 78895083912100a26559de839fa131966d375f82
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Tue Jun 30 13:33:28 2015 +0200

    Drop the interface renaming disabling hack
    
    - it won't work with current systemd, as the udev rules file name
      changed. The /dev/null symlink does nothing now.
    - the interface won't be renamed when systemd-network is not installed
    - PLD really should not force its ways for historical reasons. eth*
      unpredictability is a real problem on systems with more than one
      interface.
    
    Predictable interface names will be used when systemd-networkd is
    installed, unless its configuration states otherwise.
    
    Without systemd-networkd installed eth* hell stays.

 systemd.spec | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 3d6ea0f..ea71f09 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -740,10 +740,6 @@ ln -s /lib/udev $RPM_BUILD_ROOT/usr/lib/
 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
 
-# disable this abomination
-# http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
-ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
-
 # install udev configs
 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
 
@@ -1942,7 +1938,6 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-name-slot.rules
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/78895083912100a26559de839fa131966d375f82



More information about the pld-cvs-commit mailing list