[systemd-commits] src/network

Tom Gundersen tomegun at kemper.freedesktop.org
Mon Dec 15 08:59:29 PST 2014


 src/network/networkd-manager.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 17d1f37d0dbd2d78b8866e1350c83a9755105144
Author: Tom Gundersen <teg at jklm.no>
Date:   Mon Dec 15 17:57:51 2014 +0100

    networkd: failing to track links is a serious problem so log at warning level rather than debug

diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index fe9008a..6aab427 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -273,7 +273,7 @@ static int manager_rtnl_process_link(sd_rtnl *rtnl, sd_rtnl_message *message, vo
                         /* link is new, so add it */
                         r = link_add(m, message, &link);
                         if (r < 0) {
-                                log_debug_errno(r, "could not add new link: %m");
+                                log_warning_errno(r, "could not add new link: %m");
                                 return 0;
                         }
                 }
@@ -282,7 +282,7 @@ static int manager_rtnl_process_link(sd_rtnl *rtnl, sd_rtnl_message *message, vo
                         /* netdev exists, so make sure the ifindex matches */
                         r = netdev_set_ifindex(netdev, message);
                         if (r < 0) {
-                                log_debug_errno(r, "could not set ifindex on netdev: %m");
+                                log_warning_errno(r, "could not set ifindex on netdev: %m");
                                 return 0;
                         }
                 }



More information about the systemd-commits mailing list