summaryrefslogtreecommitdiffstats
path: root/units/systemd-udevd.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-08-04 21:37:19 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-04 21:38:39 +0200
commit31845ef554877525dc4ff4f25ad11ad805ebf81c (patch)
tree6445fe6175e9d53b80e0e081a8d98f671d213f9f /units/systemd-udevd.service.in
parentRevert "tmpfiles.d: adjust /dev/vfio/vfio access mode" (diff)
downloadsystemd-31845ef554877525dc4ff4f25ad11ad805ebf81c.tar.xz
systemd-31845ef554877525dc4ff4f25ad11ad805ebf81c.zip
unit: make udev rules take precesence over tmpfiles
Without this change, there are no ordering between udevd and tmpfiles, and if tmpfiles is invoked later it may discard the permission set by udevd. Fixes an issue introduced by b42482af904ae0b94a6e4501ec595448f0ba1c06. Fixes #28588 and #28653.
Diffstat (limited to 'units/systemd-udevd.service.in')
-rw-r--r--units/systemd-udevd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
index b59fdef9b0..7682baeec1 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -12,6 +12,7 @@ Description=Rule-based Manager for Device Events and Files
Documentation=man:systemd-udevd.service(8) man:udev(7)
DefaultDependencies=no
After=systemd-sysusers.service systemd-hwdb-update.service
+After=systemd-tmpfiles-setup-dev.service
Before=sysinit.target
ConditionPathIsReadWrite=/sys