diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-02-11 02:45:11 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2016-02-11 02:45:11 +0000 |
commit | 6cfc79632fbf594567db7206d1409e953afe3690 (patch) | |
tree | 73fbc3cea5ba962d8b071e77c2c3ac65e3ea097b /units/dev-mqueue.mount | |
parent | 71ab0faceb28dde7efd1e288abb0e0d6a0ac282e (diff) |
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
Diffstat (limited to 'units/dev-mqueue.mount')
-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 5c11ca7d35..8d29f96ca6 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 |