Comment 3 for bug 2032805

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

While the above is needed to change chrony, I further found that timemaster also has an issue in the default config.

debian/timemaster.conf:14:[chrony.conf]
debian/timemaster.conf:15:include /etc/chrony.conf

That causes the default to behave like:
Mar 22 07:03:49 n chronyd[50428]: Fatal error : Could not open /etc/chrony.conf : No such file or directory
Mar 22 07:03:49 n timemaster[50428]: Fatal error : Could not open /etc/chrony.conf : No such file or directory
Mar 22 07:03:49 n timemaster[50427]: [5186982.753] process 50428 terminated with status 1

And this is due to the chrony config itself for ages (since 1.24-1 AFAICS) being in
root@n:~# ll /etc/chrony/chrony.conf
-rw-r--r-- 1 root root 2230 Dec 11 21:17 /etc/chrony/chrony.conf

So there we might want to land a change like
diff --git a/debian/timemaster.conf b/debian/timemaster.conf
index fd8e77e..4a3e1c1 100644
--- a/debian/timemaster.conf
+++ b/debian/timemaster.conf
@@ -12,7 +12,7 @@
 ntp_program chronyd

 [chrony.conf]
-include /etc/chrony.conf
+include /etc/chrony/chrony.conf

 [ntp.conf]
 includefile /etc/ntp.conf

What do others think?
Maybe Patrik has changed that on te initial setup, or happens to know why it is not needed?