summaryrefslogtreecommitdiff
path: root/units/proc-sys-fs-binfmt_misc.automount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-13 17:39:37 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-13 18:52:53 +0200
commit41807efb1594ae8e71e0255e154ea7d17be2251a (patch)
tree533430e213dbda523778897daeb2e52f912a7235 /units/proc-sys-fs-binfmt_misc.automount
parent9f28b98ec6461b4e06edd1e149c1ee5e9dcc4be0 (diff)
units: do binfmt magic only when /proc/sys is writable
Diffstat (limited to 'units/proc-sys-fs-binfmt_misc.automount')
-rw-r--r--units/proc-sys-fs-binfmt_misc.automount3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount
index 6edd1f55d3..658b55dc32 100644
--- a/units/proc-sys-fs-binfmt_misc.automount
+++ b/units/proc-sys-fs-binfmt_misc.automount
@@ -9,7 +9,8 @@
Description=Arbitrary Executable File Formats File System Automount Point
DefaultDependencies=no
Before=sysinit.target
-ConditionPathExists=/proc/sys/fs/binfmt_misc
+ConditionPathExists=/proc/sys/fs/binfmt_misc/
+ConditionPathIsReadWrite=/proc/sys/
[Automount]
Where=/proc/sys/fs/binfmt_misc