From 6cfc79632fbf594567db7206d1409e953afe3690 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Thu, 11 Feb 2016 02:45:11 +0000 Subject: 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 --- units/dev-mqueue.mount | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-54-g00ecf