projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33b9130
)
unit: make udev rules take precesence over tmpfiles
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 4 Aug 2023 19:37:19 +0000
(
04:37
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 4 Aug 2023 19:38:39 +0000
(
04:38
+0900)
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
patch
|
blob
|
history
diff --git
a/units/systemd-udevd.service.in
b/units/systemd-udevd.service.in
index b59fdef9b01f71572b37b64a0ccd2e9f41ba206a..7682baeec17908898488b228ad7ef6d7fd9add04 100644
(file)
--- 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