From 31845ef554877525dc4ff4f25ad11ad805ebf81c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 5 Aug 2023 04:37:19 +0900 Subject: [PATCH] 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. --- units/systemd-udevd.service.in | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1