mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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 b42482af90.
Fixes #28588 and #28653.
This commit is contained 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user