summaryrefslogtreecommitdiff
path: root/units/sys-fs-fuse-connections.mount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-10 23:02:53 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-10 23:42:39 +0100
commit03a78688056e533390992db8adf304c2b6798088 (patch)
tree8b63573503d6434c7897b93806f0e40ef6f5c5ab /units/sys-fs-fuse-connections.mount
parentcf3bdcfeba48ffef71f1f59e092c4fb9275dcb3a (diff)
downloadsystemd-03a78688056e533390992db8adf304c2b6798088.tar.gz
units: don't try to mount the FUSE fs if we lack the privileges for it
See: https://lists.freedesktop.org/archives/systemd-devel/2016-February/035740.html
Diffstat (limited to 'units/sys-fs-fuse-connections.mount')
-rw-r--r--units/sys-fs-fuse-connections.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/sys-fs-fuse-connections.mount b/units/sys-fs-fuse-connections.mount
index ebd93e2cda..e940beb09f 100644
--- a/units/sys-fs-fuse-connections.mount
+++ b/units/sys-fs-fuse-connections.mount
@@ -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