diff --git a/units/sys-fs-fuse-connections.mount b/units/sys-fs-fuse-connections.mount index b649a1ed19..ca48fd5f4f 100644 --- a/units/sys-fs-fuse-connections.mount +++ b/units/sys-fs-fuse-connections.mount @@ -12,6 +12,7 @@ Description=FUSE Control File System Documentation=https://www.kernel.org/doc/Documentation/filesystems/fuse.txt Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems DefaultDependencies=no +ConditionPathExists=/sys/fs/fuse/connections ConditionCapability=CAP_SYS_ADMIN ConditionVirtualization=!private-users Before=sysinit.target diff --git a/units/sys-kernel-config.mount b/units/sys-kernel-config.mount index 7d965046ee..b99b4f4b7e 100644 --- a/units/sys-kernel-config.mount +++ b/units/sys-kernel-config.mount @@ -12,6 +12,7 @@ Description=Kernel Configuration File System Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems DefaultDependencies=no +ConditionPathExists=/sys/kernel/config ConditionCapability=CAP_SYS_RAWIO Before=sysinit.target