]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: order service(s) before udevd, not udev-trigger (coldplug) 6617/head
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 15 Aug 2017 13:22:44 +0000 (14:22 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 15 Aug 2017 13:22:44 +0000 (14:22 +0100)
commit1d422b153bf9e9409e95e7596a2ea59cdb9e7b19
treea48dac1bad79345ee948f3c9c3149d2682671138
parent3533b49e74a42eea5c9413cf1e6a2f74589731c7
units: order service(s) before udevd, not udev-trigger (coldplug)

Since hotplugs happen as soon as udevd is started, there is not much sense
in giving udev-trigger an After= dependency on any service.  The device
could be hotplugged before coldplug starts.

This is intended to avoid the race window where we create the hwdb with
the wrong selinux context (then fix it up afterwards).
https://github.com/systemd/systemd/issues/3458#issuecomment-322444107
units/systemd-udev-trigger.service.in
units/systemd-udevd.service.in