]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "udev: import the full db on MOVE events for devices without dev_t"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Sep 2020 06:20:04 +0000 (15:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Sep 2020 02:06:25 +0000 (11:06 +0900)
commit51d9aec0ff333ff554079da4babf6dbfa9837096
treee8410eaa5eaa72938f55eea28a806340edd586a4
parent2e17fed5f3000175f3ea67ece47fb7fd6ca41efa
Revert "udev: import the full db on MOVE events for devices without dev_t"

This reverts commit b081b27e1433cdc7ac72b25ae8b4db887d79187f.

If a network interface get a 'move' event, then previously SYSTEMD_ALIAS=
property still contains an old alias, and the old alias .device unit
will not be removed.

This makes all properties cleared on 'move' event, and then old alias
.device unit will be removed by pid1.

Fixes #16967.
src/udev/udev-event.c