On Tue, May 09, 2023 at 02:49:23PM +0200, Andrew Zaborowski wrote: > Yep, I guess that will break unless you take care to stop the > instances in the reverse order to that in which they were started. Is > there a use case for multiple ptp4l instances in different containers?
I'm sure there are containers that cannot be configured to run multiple instances. It might also be a policy for some reason. > > or a different program is using HW timestamping (e.g. > > chronyd). > > True. To handle that case I'd need to drop the cleanup part in this > patch,... or add a compatible mechanism in chronyd. Or again the user > would have to keep track of the shutdown order. Or make the cleanup part configurable (disabled by default)? -- Miroslav Lichvar _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel