mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
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:
parent
71ab0faceb
commit
6cfc79632f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue