summaryrefslogtreecommitdiffstats
path: root/debian/usr.sbin.chronyd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/usr.sbin.chronyd9
1 files changed, 7 insertions, 2 deletions
diff --git a/debian/usr.sbin.chronyd b/debian/usr.sbin.chronyd
index bc52d4f..33254ac 100644
--- a/debian/usr.sbin.chronyd
+++ b/debian/usr.sbin.chronyd
@@ -62,6 +62,8 @@ abi <abi/3.0>,
@{run}/chrony.*.sock rw,
# To sign replies to MS-SNTP clients by the smbd daemon
/var/lib/samba/ntp_signd/socket rw,
+ # Default path of the socket to sync with ptp4l
+ @{run}/refclock.ptp.sock rw,
# rtc
/etc/adjtime r,
@@ -71,8 +73,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