6a62c05e32
- Add upstream patches as real fixes 0001-activate-fix-fd-leak-in-do_accept.patch 0002-analyze-avoid-a-null-dereference.patch 0003-analyze-fix-mem-leak.patch 0004-backlight-Avoid-error-when-state-restore-is-disabled.patch 0005-bus-avoid-using-m-kdbus-after-freeing-it.patch 0006-bus-unref-buscreds-on-failure.patch 0007-core-fix-a-potential-mem-leak.patch 0008-core-smack-setup-Actually-allow-for-succesfully-load.patch 0009-journal-do-not-leak-mmaps-on-OOM.patch 0010-manager-use-correct-cleanup-function.patch - Intergrate the work of Robert and rename the patch 1068-udev-remove-userspace-firmware-loading-support.patch to 1078-udev-remove-userspace-firmware-loading-support.patch Also add patch 1079-udev-remove-userspace-firmware-loading-support.patch to apply the same change for opensuse 13.2 and above - Add upstream patch 0001-systemctl-allow-to-change-the-default-target-without.patch to allow to override default target without --force (bnc#896664) - Add upstream patches for udev 1068-udev-net_setup_link-export-the-.link-filename-applie.patch 1069-rules-net-setup-link-preserve-ID_NET_LINK_FILE-and-I.patch 1070-rules-net-setup-link-remove-stray-linebreak.patch 1071-udev-import-the-full-db-on-MOVE-events-for-devices-w.patch 1072-udev-netif_rename-don-t-log-to-kmsg.patch 1073-udev-drop-print_kmsg.patch 1074-udev-fix-copy-paste-error-in-log-message.patch OBS-URL: https://build.opensuse.org/request/show/249581 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=206
40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
Based on 1187f20655de0c37337ea73e1e55823b83cd7c00 Mon Sep 17 00:00:00 2001
|
|
From: Tom Gundersen <teg@jklm.no>
|
|
Date: Tue, 9 Sep 2014 22:45:03 +0200
|
|
Subject: [PATCH] udev: netif_rename - don't log to kmsg
|
|
|
|
As of 3.17, the kernel will do this on its own, so just do regular log_debug() logging from udev.
|
|
---
|
|
src/udev/udev-event.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
--- src/udev/udev-event.c
|
|
+++ src/udev/udev-event.c 2014-09-16 08:52:36.154735794 +0000
|
|
@@ -770,7 +770,7 @@ static int rename_netif(struct udev_even
|
|
|
|
r = rtnl_set_link_name(rtnl, udev_device_get_ifindex(dev), name);
|
|
if (r == 0) {
|
|
- print_kmsg("renamed network interface %s to %s\n", oldname, name);
|
|
+ log_debug("renamed network interface %s to %s", oldname, name);
|
|
return r;
|
|
} else if (r != -EEXIST) {
|
|
log_error("error changing net interface name %s to %s: %s",
|
|
@@ -789,7 +789,7 @@ static int rename_netif(struct udev_even
|
|
}
|
|
|
|
/* log temporary name */
|
|
- print_kmsg("renamed network interface %s to %s\n", oldname, interim);
|
|
+ log_debug("renamed network interface %s to %s", oldname, interim);
|
|
|
|
loop = 90 * 20;
|
|
while (loop--) {
|
|
@@ -798,7 +798,7 @@ static int rename_netif(struct udev_even
|
|
|
|
r = rtnl_set_link_name(rtnl, udev_device_get_ifindex(dev), name);
|
|
if (r == 0) {
|
|
- print_kmsg("renamed network interface %s to %s\n", interim, name);
|
|
+ log_debug("renamed network interface %s to %s", interim, name);
|
|
break;
|
|
}
|
|
|