From 05937bc575b845ded7d2dc6f0cda17efdd59b9ce Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Mon, 1 Apr 2024 18:25:54 -0700 Subject: * d/usr.sbin.chronyd: Fix failure to start timemaster due to lack of rw permissions on chrony socket. (LP: #2032805) --- debian/usr.sbin.chronyd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/usr.sbin.chronyd b/debian/usr.sbin.chronyd index bc52d4f..88c8484 100644 --- a/debian/usr.sbin.chronyd +++ b/debian/usr.sbin.chronyd @@ -71,8 +71,11 @@ abi , /dev/pps[0-9]* rw, /dev/ptp[0-9]* rw, - # Allow reading the chronyd configuration file that timemaster(8) generates - @{run}/timemaster/chrony.conf r, + # Allow reading the chronyd configuration file that timemaster(8) + # generates, along with any other config files and sockets. + @{run}/timemaster/* r, + # Allow read-write on the default socket path for coodination. + @{run}/timemaster/chrony.SOCK0 rw, # For use with clocks that report via shared memory (e.g. gpsd), # you may need to give ntpd access to all of shared memory, though -- cgit v1.2.3