- Fix duplicated rules when having layer3 interfaces (bnc#882714).
Add 1046-fix-duplicated-rules-with-layer3-interfaces.patch - Fix duplicated rules when having layer3 interfaces (bnc#882714). Add 1046-fix-duplicated-rules-with-layer3-interfaces.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=701
This commit is contained in:
parent
5d469dc93d
commit
6d49441f5c
16
1046-fix-duplicated-rules-with-layer3-interfaces.patch
Normal file
16
1046-fix-duplicated-rules-with-layer3-interfaces.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: systemd-210/src/udev/rule_generator/write_net_rules
|
||||
===================================================================
|
||||
--- systemd-210.orig/src/udev/rule_generator/write_net_rules
|
||||
+++ systemd-210/src/udev/rule_generator/write_net_rules
|
||||
@@ -101,6 +101,11 @@ if [ "$MATCHDEVID" ]; then
|
||||
fi
|
||||
|
||||
if [ "$MATCHID" ]; then
|
||||
+ ID="$(find_all_rules 'KERNELS==' "$MATCHID")"
|
||||
+ if [ "$ID" == "$MATCHID" ]; then
|
||||
+ unlock_rules_file
|
||||
+ exit 0
|
||||
+ fi
|
||||
match="$match, KERNELS==\"$MATCHID\""
|
||||
fi
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 18:06:32 UTC 2014 - rmilasan@suse.com
|
||||
|
||||
- Fix duplicated rules when having layer3 interfaces (bnc#882714).
|
||||
Add 1046-fix-duplicated-rules-with-layer3-interfaces.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 1 12:19:27 UTC 2014 - werner@suse.de
|
||||
|
||||
|
@ -719,6 +719,8 @@ Patch1043: 1043-libudev-queue-watch-entire-directory-to-allow-the-re.patch
|
||||
Patch1044: 1044-rules-update-qemu-hid-rules.patch
|
||||
# PATCH-FIX-UPSTREAM 1045-rules-don-t-enable-usb-pm-for-Avocent-devices.patch
|
||||
Patch1045: 1045-rules-don-t-enable-usb-pm-for-Avocent-devices.patch
|
||||
# PATCH-FIX-SUSE 1046-fix-duplicated-rules-with-layer3-interfaces.patch (bnc#882714)
|
||||
Patch1046: 1046-fix-duplicated-rules-with-layer3-interfaces.patch
|
||||
|
||||
%description
|
||||
Systemd is a system and service manager, compatible with SysV and LSB
|
||||
@ -1237,6 +1239,7 @@ cp %{SOURCE7} m4/
|
||||
%endif
|
||||
%patch1044 -p0
|
||||
%patch1045 -p0
|
||||
%patch1046 -p1
|
||||
|
||||
# ensure generate files are removed
|
||||
rm -f units/emergency.service
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 18:06:32 UTC 2014 - rmilasan@suse.com
|
||||
|
||||
- Fix duplicated rules when having layer3 interfaces (bnc#882714).
|
||||
Add 1046-fix-duplicated-rules-with-layer3-interfaces.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 1 12:19:27 UTC 2014 - werner@suse.de
|
||||
|
||||
|
@ -714,6 +714,8 @@ Patch1043: 1043-libudev-queue-watch-entire-directory-to-allow-the-re.patch
|
||||
Patch1044: 1044-rules-update-qemu-hid-rules.patch
|
||||
# PATCH-FIX-UPSTREAM 1045-rules-don-t-enable-usb-pm-for-Avocent-devices.patch
|
||||
Patch1045: 1045-rules-don-t-enable-usb-pm-for-Avocent-devices.patch
|
||||
# PATCH-FIX-SUSE 1046-fix-duplicated-rules-with-layer3-interfaces.patch (bnc#882714)
|
||||
Patch1046: 1046-fix-duplicated-rules-with-layer3-interfaces.patch
|
||||
|
||||
%description
|
||||
Systemd is a system and service manager, compatible with SysV and LSB
|
||||
@ -1232,6 +1234,7 @@ cp %{SOURCE7} m4/
|
||||
%endif
|
||||
%patch1044 -p0
|
||||
%patch1045 -p0
|
||||
%patch1046 -p1
|
||||
|
||||
# ensure generate files are removed
|
||||
rm -f units/emergency.service
|
||||
|
Loading…
Reference in New Issue
Block a user