diff options
author | Tom Gundersen <teg@jklm.no> | 2015-03-04 10:33:50 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-03-04 11:01:39 +0100 |
commit | ff88a301e93cf1bddbaa7faa981f390a2a81a4bb (patch) | |
tree | 5c2b005c3efbf62ead615d48545bcd728a2b45ae /src/network | |
parent | c26c1d86b3e466e073577e27ad839a0c112cd17b (diff) |
networkd: netdev - inform when we take over an existing netdev
The crucial point here is that we will not change the settings of a netdev created by someone else
we simply use it as is and trust it was set up as intended.
This is confusing in the case of the pre-created netdev's (bond0 etc.), the solution should probably
be to simply make the kernel stop creating these devices as they are pretty useless.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c index 3d7cc73451..e98040d6ec 100644 --- a/src/network/networkd-netdev.c +++ b/src/network/networkd-netdev.c @@ -260,7 +260,7 @@ static int netdev_create_handler(sd_rtnl *rtnl, sd_rtnl_message *m, void *userda r = sd_rtnl_message_get_errno(m); if (r == -EEXIST) - log_netdev_debug(netdev, "netdev exists, using existing"); + log_info_netdev(netdev, "netdev exists, using existing without changing its parameters"); else if (r < 0) { log_warning_netdev(netdev, "netdev could not be created: %s", strerror(-r)); netdev_drop(netdev); |