projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9cbef7
)
units: disable systemd-time-sync-wait inside containers (#8537)
author
Peter A. Bigot
<pab@pabigot.com>
Thu, 22 Mar 2018 02:27:27 +0000
(21:27 -0500)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Thu, 22 Mar 2018 02:27:27 +0000
(
05:27
+0300)
Fixes #8535
units/systemd-time-wait-sync.service.in
patch
|
blob
|
history
diff --git
a/units/systemd-time-wait-sync.service.in
b/units/systemd-time-wait-sync.service.in
index
352705d
..
bed4177
100644
(file)
--- a/
units/systemd-time-wait-sync.service.in
+++ b/
units/systemd-time-wait-sync.service.in
@@
-10,6
+10,8
@@
[Unit]
Description=Wait Until Kernel Time Synchronized
Documentation=man:systemd-time-wait-sync.service(8)
+ConditionCapability=CAP_SYS_TIME
+ConditionVirtualization=!container
DefaultDependencies=no
Before=time-sync.target shutdown.target
Wants=time-sync.target