Hi Patrick,
The use case is: we have a bunch of slave clocks that we would like to monitor by running pmc on each (+ snmp eventually). If this feature would allow running pmc without sudo, it would provide an elegant solution.
I proposed to linuxptp-devel on 29 March patch ([PATCH] UDS: added option to set file mode for the created socket. <https://www.mail-archive.com/linuxptp-devel@lists.sourceforge.net/msg05540.html>). This patch would allow you to explicitly set the file mode of the created socket. That would be an alternative (and easier) solution than the patch implementing dropping root privileges.
There is, however, ongoing discussion about the implementation on linuxptp-users (Config section for /var/log/ptp4lro creates an additional port <https://www.mail-archive.com/linuxptp-users@lists.sourceforge.net/msg02694.html>). We haven't yet settled on the ideal implementation of the feature.
Martin
smime.p7s
Description: Elektronicky podpis S/MIME
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users