SHA256
1
0
forked from pool/systemd
Dr. Werner Fink 2015-05-18 14:47:17 +00:00 committed by Git OBS Bridge
parent ba67084b43
commit 53f6858b56
3 changed files with 16 additions and 2 deletions

View File

@ -41,7 +41,7 @@ Index: systemd-218/src/udev/net/link-config.c
log_warning_errno(r, "Failed to read /proc/cmdline, ignoring: %m");
+#if defined(NET_IFNAMES) && (NET_IFNAMES == 1)
+# warning Using persistent rules as a default
+ if (r <= 0)
+ if (r < 0)
+ return false;
+
+ FOREACH_WORD_QUOTED(w, l, line, state)
@ -51,7 +51,7 @@ Index: systemd-218/src/udev/net/link-config.c
+ return false;
+#else
+# warning Using predictable rules as a default
+ if (r <= 0)
+ if (r < 0)
return true;
- }

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 18 14:39:47 UTC 2015 - werner@suse.de
- Modify patch 1021-udev-re-add-persistent-net-rules.patch to use
the new return values of proc_cmdline() in enable_name_policy()
this should fix boo#931165
-------------------------------------------------------------------
Mon Mar 16 15:35:31 UTC 2015 - werner@suse.de

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 18 14:39:47 UTC 2015 - werner@suse.de
- Modify patch 1021-udev-re-add-persistent-net-rules.patch to use
the new return values of proc_cmdline() in enable_name_policy()
this should fix boo#931165
-------------------------------------------------------------------
Mon Mar 16 15:35:31 UTC 2015 - werner@suse.de