Open
Description
I'm using a config file with the following
; PTP domain
ptpengine:domain = 1
; available presets are slaveonly, masteronly and masterslave (full IEEE 1588 implementation)
ptpengine:preset = masterslave
If I reload the config and ptpengine:preset=masterslave, ptpd shuts down. If I enable logging, i get the following error:
2024-02-07 15:30:26.086396 ptpd2[2365].enp0s31f6 (notice) (mst) SIGHUP received
2024-02-07 15:30:26.086440 ptpd2[2365].enp0s31f6 (notice) (mst) Reloading configuration file: /some/path
2024-02-07 15:30:26.086555 ptpd2[2365].enp0s31f6 (info) (mst) Checking configuration
2024-02-07 15:30:26.086797 ptpd2[2365].enp0s31f6 (info) (mst) Configuration OK
2024-02-07 15:30:26.087218 ptpd2[2365].enp0s31f6 (critical) (mst) ************ ptpd2: parseConfig returned NULL during config commit - this is a BUG - report the following:
2024-02-07 15:30:26.087225 ptpd2[2365].enp0s31f6 (info) (mst) Checking configuration
2024-02-07 15:30:26.087235 ptpd2[2365].enp0s31f6 (error) (mst) Configuration error: option "ptpengine:preset=masterslave" cannot be used with option "ptpengine:unicast_negotiation"
2024-02-07 15:30:26.087637 ptpd2[2365].enp0s31f6 (error) (mst) There are errors in the configuration - see previous messages
2024-02-07 15:30:26.087647 ptpd2[2365].enp0s31f6 (critical) (mst) *****************ptpd2 shutting down **********************
Restarting the daemon fixes the issue
457A
div>
Metadata
Metadata
Assignees
Labels
No labels