chiark / gitweb /
units: conditionalize configfs and debugfs with CAP_SYS_RAWIO
[elogind.git] / units / sys-kernel-debug.mount
index 5369728..1e94387 100644 (file)
@@ -11,6 +11,7 @@ Documentation=https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt
 Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
 DefaultDependencies=no
 ConditionPathExists=/sys/kernel/debug
+ConditionCapability=CAP_SYS_RAWIO
 Before=sysinit.target
 
 [Mount]