]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: make sure to recheck current udev tag "systemd" before considering a device...
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Dec 2018 17:32:03 +0000 (18:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2020 15:40:12 +0000 (17:40 +0200)
commit242c1c075aa284c8a8657c5aca36147f528146ba
treeef6c32c4b52c9979850fcdad40c6ffe4f331022f
parent31abedbb0325dee21cfdd9ec398918e85739c67e
core: make sure to recheck current udev tag "systemd" before considering a device ready

Let's ensure that a device once tagged can become active/inactive simply
by toggling the current tag.

Note that this means that a device once tagged with "systemd" will
always have a matching .device unit. However, the active/inactive state
of the unit reflects whether it is currently tagged that way (and
doesn't have SYSTEMD_READY=0 set).

Fixes: #7587
src/core/device.c