summaryrefslogtreecommitdiffstats
path: root/units/systemd-binfmt.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-10 03:46:45 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-14 19:36:27 +0100
commitf74a7cb45c2458f90de6d37c70fa3afc1a3be279 (patch)
tree862c2334ac45a44276d7407b2f3a7172292572db /units/systemd-binfmt.service.in
parentbinfmt: check if binfmt is mounted before applying rules (diff)
downloadsystemd-f74a7cb45c2458f90de6d37c70fa3afc1a3be279.tar.xz
systemd-f74a7cb45c2458f90de6d37c70fa3afc1a3be279.zip
unit: check more specific path to be written by systemd-binfmt
Follow-up for 41807efb1594ae8e71e0255e154ea7d17be2251a. Replaces #25690.
Diffstat (limited to 'units/systemd-binfmt.service.in')
-rw-r--r--units/systemd-binfmt.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-binfmt.service.in b/units/systemd-binfmt.service.in
index a702c0d9d7..b04412e037 100644
--- a/units/systemd-binfmt.service.in
+++ b/units/systemd-binfmt.service.in
@@ -18,7 +18,7 @@ After=proc-sys-fs-binfmt_misc.automount
After=proc-sys-fs-binfmt_misc.mount
After=local-fs.target
Before=sysinit.target shutdown.target
-ConditionPathIsReadWrite=/proc/sys/
+ConditionPathIsMountPoint=/proc/sys/fs/binfmt_misc
ConditionDirectoryNotEmpty=|/lib/binfmt.d
ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d
ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d