From: Evgeny Vereshchagin Date: Thu, 11 Feb 2016 02:45:11 +0000 (+0000) Subject: units: don't try to mount the mqueue fs if we lack the privileges for it X-Git-Tag: v229~3^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2581%2Fhead;p=thirdparty%2Fsystemd.git 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 --- diff --git a/units/dev-mqueue.mount b/units/dev-mqueue.mount index 5c11ca7d350..8d29f96ca62 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