Bug#883241: chrony: daemon doesn't automatically start

Michael Biebl biebl at debian.org
Sat Oct 5 01:43:22 BST 2019


Seems like Conflicts= do not work reliably to ensure the
systemd-timesyncd.service is not started during boot.

See also the upstream bug report
https://github.com/systemd/systemd/issues/7104

We've re-added the Conditions to systemd-timesyncd.service.
#
/lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
[Unit]
# don't run timesyncd if we have another NTP daemon installed
ConditionFileIsExecutable=!/usr/sbin/ntpd
ConditionFileIsExecutable=!/usr/sbin/openntpd
ConditionFileIsExecutable=!/usr/sbin/chronyd
ConditionFileIsExecutable=!/usr/sbin/VBoxService


This should ensure systemd-timesyncd.service is not started if chrony is
installed.

Andres, can you still reproduce the problem?
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191005/16e1ddb8/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list