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
This commit is contained in:
Evgeny Vereshchagin 2016-02-11 02:45:11 +00:00
parent 71ab0faceb
commit 6cfc79632f

View file

@ -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