Re: [Linuxptp-users] Config section for /var/log/ptp4lro creates an additional port
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2022-03-30 14:34:59
|
On Wed, Mar 30, 2022 at 01:10:23PM +0200, Martin Pecka wrote: > > > Right, the config sections are for network interfaces only. > > > > > Is there a way to configure the RO socket without having this side-effect? > > What are you trying to accomplish? > > That goes along with my proposal (on linuxptp-devel) to allow specifying > file mode for the UDS sockets. Ideally, I'd set 0660 to the RW socket and > 0666 to the RO socket. Unfortunately, when the socket is being created, it > doesn't have the information whether it is the RW or RO socket, it knows > only its name. So it doesn't seem possible to define e.g. two config options > file_mode_rw and file_mode_ro. Make it a global option and not a port specific option. (The UDS interfaces are not PTP ports, but they are implemented as ports for the sake of code simplicity.) Thanks, Richard |