summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2024-04-01 18:25:54 -0700
committerVincent Blut <vincent.debian@free.fr>2024-04-20 14:45:58 +0200
commit05937bc575b845ded7d2dc6f0cda17efdd59b9ce (patch)
tree8e0930a11a1c4c413933707664ec11f7482fb9cd
parent474f9d4f2675d3aea8e631764f08ec061860949f (diff)
* d/usr.sbin.chronyd: Fix failure to start timemaster due to lack
of rw permissions on chrony socket. (LP: #2032805)
-rw-r--r--debian/usr.sbin.chronyd7
1 files 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 <abi/3.0>,
/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