networkd: rework idle detection logic of networkd
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Feb 2016 18:11:18 +0000 (19:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Feb 2016 14:22:06 +0000 (15:22 +0100)
commit9dc907f9c93636cb63ca90300fa3b8c03812701f
treee388ecf7b520cc01d7e7f987e6441c3af1e7941b
parentde085700502b372767fa4c83b91a02522e198897
networkd: rework idle detection logic of networkd

This patch makes networkd stay around as long as there is more than just a
loopback interface around, or the loopback device isn't fully probed yet, or
the loopback device has a .network file attached.

In essence, this means networkd stays around now continously as it should,
unless it is running in some (container?) environment that really has no
interface except a loopback device.

Fixes #2577.
src/network/networkd-manager.c