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?

** Changed in: chrony (Ubuntu)
       Status: New => Triaged

** Changed in: linuxptp (Ubuntu)
       Status: New => Confirmed

** Tags added: server-todo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2032805

Title:
  Could not open socket /var/run/timemaster/chrony.SOCK0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/2032805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to