diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-11 13:55:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-11 13:55:59 +0100 |
commit | b8eefa012d595addc96454ad7ac8ee41785d5589 (patch) | |
tree | 760681c0ebaeb4864aac7127321ed555228d06fd | |
parent | c8385ece1e3d7207b3898474925d53e9a656c9b5 (diff) | |
parent | 6cfc79632fbf594567db7206d1409e953afe3690 (diff) |
Merge pull request #2581 from evverx/dev-mqueue-cond
units: don't try to mount the mqueue fs if we lack the privileges for it
-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 |