]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: re-assign ID_NET_DRIVER=, ID_NET_LINK_FILE=, ID_NET_NAME= properties on non...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Sep 2020 06:21:04 +0000 (15:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Sep 2020 02:29:35 +0000 (11:29 +0900)
commite0e789c1e97e2cdf1cafe0c6b7d7e43fa054f151
tree17c804647abb04628c7c318ab92c1b91aeed656b
parent51d9aec0ff333ff554079da4babf6dbfa9837096
udev: re-assign ID_NET_DRIVER=, ID_NET_LINK_FILE=, ID_NET_NAME= properties on non-'add' uevent

Previous commit makes drop ID_NET_DRIVER=, ID_NET_LINK_FILE=, and
ID_NET_NAME= properties for network interfaces on 'move' uevent.
ID_NET_DRIVER= and ID_NET_LINK_FILE= properties are used by networkctl.
ID_NET_NAME= may be used by end-user rules or programs. So, let's
re-assign them on 'move' uevent. (Note that strictly speaking, this
makes them re-assigned on all but 'remove' uevent.)
rules.d/80-net-setup-link.rules
src/udev/net/link-config.c