From: Zbigniew Jędrzejewski-Szmek Date: Fri, 15 Sep 2017 09:23:57 +0000 (+0200) Subject: man: explain when networkd removed existing configuration and when not X-Git-Tag: v235~92^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c12694439ac3227819f5801e1fcc9f6667c820c;p=platform%2Fupstream%2Fsystemd.git man: explain when networkd removed existing configuration and when not Fixes #6693. --- diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml index 0bfe551..a6e079c 100644 --- a/man/systemd-networkd.service.xml +++ b/man/systemd-networkd.service.xml @@ -64,13 +64,30 @@ networks, see systemd.link5. - Network configurations applied before networkd is started - are not removed, and static configuration applied by networkd is - not removed when networkd exits. Dynamic configuration applied by - networkd may also optionally be left in place on shutdown. This - ensures restarting networkd does not cut the network connection, - and, in particular, that it is safe to transition between the - initrd and the real root, and back. + systemd-networkd will create network devices based + on the configuration in + systemd.netdev5 + files, respecting the [Match] sections in those files. + + systemd-networkd will manage network addresses and + routes for any link for which it finds a .network file + with an appropriate [Match] section, see + systemd.network5. + For those links, it will flush existing network addresses and routes when + bringing up the device. Any links not matched by one of the + .network files will be ignored. It is also possible to + explicitly tell systemd-networkd to ignore a link by + using Unmanaged=yes option, see + systemd.network5. + + + When systemd-networkd exits, it generally leaves + existing network devices and configuration intact. This makes it possible to + transition from the initrams and to restart the service without breaking + connectivity. This also means that when configuration is updated and + systemd-networkd is restarted, netdev interfaces for + which configuration was removed will not be dropped, and may need to be + cleaned up manually. Configuration Files