[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004744: linuxptp configuration inconsistencies



Package: linuxptp
Version: 3.1-2.1

Dear everyone,

Thank you for preparing the linuxptp package. while setting up a PTP Grand Master using the linuxptp/chrony combination I ran into some minor issues, where the default configuration seems inconsistent. Maybe the maintainers would like to consider the following suggestions:

a) The systemd service for phc2sys is calling the uninstantiated ptp4l service:

--- /tmp/lib/systemd/system/phc2sys@.service	2021-07-06 20:16:00.000000000 +0200
+++ /lib/systemd/system/phc2sys@.service	2022-02-01 15:02:19.926942782 +0100
@@ -1,8 +1,8 @@
  [Unit]
  Description=Synchronize system clock or PTP hardware clock (PHC)
  Documentation=man:phc2sys
-Requires=ptp4l.service
-After=ptp4l.service
+Requires=ptp4l@%I.service
+After=ptp4l@%I.service
  Before=time-sync.target

  [Service]


b) timemaster is not pointing to the correct location of chrony.conf from the chrony package.

--- etc/linuxptp/timemaster.conf	2021-07-06 20:16:00.000000000 +0200
+++ /etc/linuxptp/timemaster.conf	2022-02-01 15:24:39.384968754 +0100
@@ -12,7 +12,7 @@
  ntp_program chronyd

  [chrony.conf]
-include /etc/chrony.conf
+include /etc/chrony/chrony.conf

  [ntp.conf]
  includefile /etc/ntp.conf



Best regards,
Michael

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: