[systemd-commits] src/network
Tom Gundersen
tomegun at kemper.freedesktop.org
Sun Apr 27 15:17:23 PDT 2014
src/network/networkd-link.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9b86b3930a47cafd39f342ed141014068a3093c2
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 28 00:16:46 2014 +0200
networkd: link - don't fail a link if RF kill is active
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index a6ae3c1..d3b2b14 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1232,12 +1232,13 @@ static int link_up_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userdata) {
r = sd_rtnl_message_get_errno(m);
if (r < 0) {
+ /* we warn but don't fail the link, as it may
+ be brought up later */
log_struct_link(LOG_WARNING, link,
"MESSAGE=%s: could not bring up interface: %s",
link->ifname, strerror(-r),
"ERRNO=%d", -r,
NULL);
- link_enter_failed(link);
}
return 1;
More information about the systemd-commits
mailing list