]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: don't try to mount the FUSE fs if we lack the privileges for it
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2016 22:02:53 +0000 (23:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2016 22:42:39 +0000 (23:42 +0100)
See:

https://lists.freedesktop.org/archives/systemd-devel/2016-February/035740.html

units/sys-fs-fuse-connections.mount

index ebd93e2cda84a710ef8c44317dc748c5b61a1181..e940beb09f6f825884381a498fbcd8328e29e428 100644 (file)
@@ -11,6 +11,7 @@ Documentation=https://www.kernel.org/doc/Documentation/filesystems/fuse.txt
 Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
 DefaultDependencies=no
 ConditionPathExists=/sys/fs/fuse/connections
+ConditionCapability=CAP_SYS_ADMIN
 After=systemd-modules-load.service
 Before=sysinit.target