Dr. Werner Fink 2015-05-18 14:47:17 +00:00 committed by Git OBS Bridge
parent bee91c4ff6
commit c6ef2e5528
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"); log_warning_errno(r, "Failed to read /proc/cmdline, ignoring: %m");
+#if defined(NET_IFNAMES) && (NET_IFNAMES == 1) +#if defined(NET_IFNAMES) && (NET_IFNAMES == 1)
+# warning Using persistent rules as a default +# warning Using persistent rules as a default
+ if (r <= 0) + if (r < 0)
+ return false; + return false;
+ +
+ FOREACH_WORD_QUOTED(w, l, line, state) + FOREACH_WORD_QUOTED(w, l, line, state)
@ -51,7 +51,7 @@ Index: systemd-218/src/udev/net/link-config.c
+ return false; + return false;
+#else +#else
+# warning Using predictable rules as a default +# warning Using predictable rules as a default
+ if (r <= 0) + if (r < 0)
return true; 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 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 Mon Mar 16 15:35:31 UTC 2015 - werner@suse.de