From f74a7cb45c2458f90de6d37c70fa3afc1a3be279 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 10 Dec 2022 11:46:45 +0900 Subject: unit: check more specific path to be written by systemd-binfmt Follow-up for 41807efb1594ae8e71e0255e154ea7d17be2251a. Replaces #25690. --- units/systemd-binfmt.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units') 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 -- cgit v1.2.1