ed30802324365dde6c05d0b7c3ce1a0eff3bf571
This reverts commit55b6530baa. This commit description says "Always rename an interface to its name specified in config if no NamePolicy= is specified", but it does much more: 1. It completely changes the meaning of NamePolicy=kernel. Before, it meant that an interface with type==NAMEPOLICY_KERNEL would not be renamed. After, the kernel name only works as a fallback, if no policy matches. 2. The "if no NamePolicy= is specified" part is not true at all, the interface will be renamed according to the specified NamePolicy=. After55b6530baa, the should_rename() function is named very misleadingly: it is only used to mean "respect kernel predictable name if no naming policy matches". Let's revert, and start with a clean slate. This fixes #11436.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is 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 guide for information on 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.
Stable branches with backported patches are available in the stable repo.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%