On Tue, Jul 28, 2020 at 08:10:53AM +0000, Patrick Nowak wrote:
> Hi,
> 
> I'm trying to run timemaster to use PTP in  combination with on a Debian 
> Buster. I am facing two problems when starting the timemaster manually via 
> "sudo timemaster -f /etc/linuxptp/timemaster.conf":
> 
> 
>   1.  The generated NTP configuration does not seem to be readable fort he 
> ntpd: getconfig: Couldn't open </var/run/timemaster/ntp.conf>: Permission 
> denied

Could this be due to selinux or apparmor?

>   2.  The configuration for ptp4l always contains a "slaveOnly 1", even if I 
> configure it in the [ptp4l.conf] section of my timemaster.conf to be 
> "slaveOnly 0"

timemaster is meant to be used for slave-only configurations. For a
PTP master configuration there would need to be a mechanism to synchronize
the PHC to the system clock. Basically, phc2sys and chronyd/ntpd would
need to be able to reverse the direction of the synchronization using
the SHM refclock.

-- 
Miroslav Lichvar



_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to