[pve-devel] [PATCH cluster] pve-cluster: dont pretend to be a time-sync provider

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Jan 15 08:46:30 CET 2019


time-sync.target is a special passive unit, consumers (i.e., units that
intend to say "I want to start after synchronized time has been
established") should only order themselves after it. only providers
(i.e., units that intend to say "I am responsible for synchronizing the
clock") should pull it in via a dependency.

this and 2c7182b76f59b32efaba3135c095b9c722957af1 together also fix #998

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 debian/pve-cluster.service | 1 -
 1 file changed, 1 deletion(-)

diff --git a/debian/pve-cluster.service b/debian/pve-cluster.service
index 9cd1a0e..da163e8 100644
--- a/debian/pve-cluster.service
+++ b/debian/pve-cluster.service
@@ -2,7 +2,6 @@
 Description=The Proxmox VE cluster filesystem
 ConditionFileIsExecutable=/usr/bin/pmxcfs
 Wants=corosync.service
-Wants=time-sync.target
 Wants=rrdcached.service
 Before=corosync.service
 Before=ceph.service
-- 
2.20.1





More information about the pve-devel mailing list