]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "networkd: NetLabel integration" 23774/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 Jun 2022 13:28:46 +0000 (22:28 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 Jun 2022 13:34:26 +0000 (22:34 +0900)
commita32badc5a6c3f1bbf27250a12830908bd0fd20e8
treefdbecf1fc3583890b8b744057ecec16c9091acd6
parentb48ed70c79c6482e1f39b77d16e62043ff5042a5
Revert "networkd: NetLabel integration"

This reverts PR #23269 and its follow-up commit. Especially,
2299b1cae32c1fb8911da0ce26efced68032f4f8 (partially), and
3cf63830acdef9d8afdc9ef1cf25aa7e85a5e4d5.

The PR was merged without final approval, and has several issues:
- The NetLabel for static addresses are not assigned, as labels are
  stored in the Address objects managed by Network, instead of Link.
- If NetLabel is specified for a static address, then the address
  section will be invalid and the address will not be configured,
- It should be implemented with Request object,
- There is no test about the feature.
16 files changed:
man/systemd.network.xml
src/basic/in-addr-util.c
src/basic/in-addr-util.h
src/basic/missing_network.h
src/libsystemd/sd-netlink/netlink-types-genl.c
src/libsystemd/sd-netlink/test-netlink.c
src/network/meson.build
src/network/networkd-address.c
src/network/networkd-address.h
src/network/networkd-netlabel.c [deleted file]
src/network/networkd-netlabel.h [deleted file]
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd-network.h
src/test/test-in-addr-util.c
test/fuzz/fuzz-network-parser/directives