diff options
author | 2016-02-11 02:45:11 +0000 | |
---|---|---|
committer | 2016-02-11 02:45:11 +0000 | |
commit | 6cfc79632fbf594567db7206d1409e953afe3690 (patch) | |
tree | 73fbc3cea5ba962d8b071e77c2c3ac65e3ea097b | |
parent | Merge pull request #2579 from evverx/TEST-1981 (diff) | |
download | systemd-6cfc79632fbf594567db7206d1409e953afe3690.tar.gz systemd-6cfc79632fbf594567db7206d1409e953afe3690.tar.bz2 systemd-6cfc79632fbf594567db7206d1409e953afe3690.zip |
units: don't try to mount the mqueue fs if we lack the privileges for it
See https://github.com/systemd/systemd/pull/2576#discussion-diff-52592680
-rw-r--r-- | units/dev-mqueue.mount | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/dev-mqueue.mount b/units/dev-mqueue.mount index 5c11ca7d3..8d29f96ca 100644 --- a/units/dev-mqueue.mount +++ b/units/dev-mqueue.mount @@ -12,6 +12,7 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems DefaultDependencies=no Before=sysinit.target ConditionPathExists=/proc/sys/fs/mqueue +ConditionCapability=CAP_SYS_ADMIN [Mount] What=mqueue |