mirror of
https://github.com/systemd/systemd.git
synced 2025-03-23 10:50:16 +03:00
For containers the link is effectively always up, but for virtual and physical machines networkd may have started before the link has gained carrier. Networkd will configure addresses when carrier is gained, but should also configure addresses if the link is already up. Without this patch the addresses are set unconditionally. Normally this isn't a problem since addresses are either fixed, set over DHCP, or is never without carrier. But for machines that gain carrier and are configured to select an address from the unallocated local address pool this causes them to pick an address from the pool twice. This change to skip address configuration when a link is added before it has a carrier fixes having multiple addresses assigned if the machine starts networkd before it has gained carrier and is configured with an address from the pool.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Languages
C
89.2%
Python
5.3%
Shell
4.1%
Meson
1.2%