From: Yu Watanabe Date: Fri, 4 Aug 2023 19:37:19 +0000 (+0900) Subject: unit: make udev rules take precesence over tmpfiles X-Git-Tag: v255-rc1~814^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31845ef554877525dc4ff4f25ad11ad805ebf81c;p=thirdparty%2Fsystemd.git 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. --- diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index b59fdef9b01..7682baeec17 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