From: Yu Watanabe Date: Sat, 10 Dec 2022 02:46:45 +0000 (+0900) Subject: unit: check more specific path to be written by systemd-binfmt X-Git-Tag: v253-rc1~283^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F25693%2Fhead;p=thirdparty%2Fsystemd.git unit: check more specific path to be written by systemd-binfmt Follow-up for 41807efb1594ae8e71e0255e154ea7d17be2251a. Replaces #25690. --- diff --git a/units/systemd-binfmt.service.in b/units/systemd-binfmt.service.in index a702c0d9d77..b04412e037f 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