Comment 11 for bug 2032805

Revision history for this message
Kenneth Klette Jonassen (knneth) wrote :

The AppArmor permissions fix for chrony sockets was too specific to support more than one active PTP instance. chronyd fails to open a second socket:
   chronyd[35626]: Fatal error : Could not open socket /var/run/timemaster/chrony.SOCK1

Suggested fix is replacing the following line in /etc/apparmor.d/usr.sbin.chronyd:
  @{run}/timemaster/chrony.SOCK0 rw,
with:
  @{run}/timemaster/chrony.SOCK[0-9]* rw,