Your message dated Sun, 28 Dec 2025 02:34:30 +0000 with message-id <E1vZgc2-009bTl-13@fasolo.debian.org> and subject line Bug#1109410: fixed in linuxptp 4.4-1 has caused the Debian Bug report #1109410, regarding linuxptp: timemaster does not start phc2sys at bootup to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1109410: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109410 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linuxptp: timemaster does not start phc2sys at bootup
- From: Yui Sakazume <saka@michiga.com>
- Date: Wed, 16 Jul 2025 22:50:35 +0000
- Message-id: <175270623513.1169.9869339557566006792.reportbug@BeagleBone.localdomain>
Package: linuxptp Version: 3.1-2.1 Severity: normal Tags: patch Dear Maintainer, * What led up to the situation? I am configuring PTP on BeagleBone black with Debian 11. It works fine if timemaster.service is manually started. ----- root@BeagleBone:~# systemctl status timemaster * timemaster.service - Synchronize system clock to NTP and PTP time sources Loaded: loaded (/lib/systemd/system/timemaster.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2025-07-07 07:04:26 UTC; 1 day 4h ago Docs: man:timemaster Main PID: 1202 (timemaster) Tasks: 4 (limit: 1024) Memory: 1.0M CPU: 3min 4.852s CGroup: /system.slice/timemaster.service |-1202 /usr/sbin/timemaster -m -l 6 -f /etc/linuxptp/timemaster.conf |-1203 /usr/sbin/chronyd -n -f /var/run/timemaster/chrony.conf |-1577 /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -H -i eth0 `-1578 /usr/sbin/phc2sys -l 5 -a -r -R 1.00 -z /var/run/timemaster/ptp4l.0.socket -t [0:eth0] -n 0 -E ntpshm -M 0 Jul 08 11:12:04 BeagleBone ptp4l[1577]: [102971.583] [0:eth0] selected local clock 3408e1.fffe.cbd9e4 as best master ----- syslog: ----- Jul 8 11:36:54 BeagleBone systemd[1]: Started Synchronize system clock to NTP and PTP time sources. Jul 8 11:36:54 BeagleBone timemaster[3592]: timemaster[104461.569]: process 3593 started: /usr/sbin/chronyd -n -f /var/run/timemaster/chrony.conf Jul 8 11:36:54 BeagleBone timemaster: [104461.569] process 3593 started: /usr/sbin/chronyd -n -f /var/run/timemaster/chrony.conf Jul 8 11:36:54 BeagleBone timemaster[3592]: timemaster[104461.597]: process 3594 started: /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -H -i eth0 Jul 8 11:36:54 BeagleBone timemaster: [104461.597] process 3594 started: /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -H -i eth0 Jul 8 11:36:54 BeagleBone timemaster[3592]: timemaster[104461.613]: process 3595 started: /usr/sbin/phc2sys -l 5 -a -r -R 1.00 -z /var/run/timemaster/ptp4l.0.socket -t [0:eth0] -n 0 -E ntpshm -M 0 Jul 8 11:36:54 BeagleBone timemaster: [104461.613] process 3595 started: /usr/sbin/phc2sys -l 5 -a -r -R 1.00 -z /var/run/timemaster/ptp4l.0.socket -t [0:eth0] -n 0 -E ntpshm -M 0 Jul 8 11:36:54 BeagleBone ptp4l: [104461.649] [0:eth0] port 1: INITIALIZING to LISTENING on INIT_COMPLETE Jul 8 11:36:54 BeagleBone ptp4l: [104461.654] [0:eth0] port 0: INITIALIZING to LISTENING on INIT_COMPLETE Jul 8 11:36:54 BeagleBone chronyd[3593]: chronyd version 4.0 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG) Jul 8 11:36:54 BeagleBone chronyd[3593]: Frequency 54.016 +/- 0.244 ppm read from /var/lib/chrony/chrony.drift Jul 8 11:36:54 BeagleBone chronyd[3593]: Using right/UTC timezone to obtain leap second data Jul 8 11:36:55 BeagleBone phc2sys: [104462.635] [0:eth0] Waiting for ptp4l... ----- However, phc2sys is not started at boot. ----- root@BeagleBone:~# systemctl status timemaster ● timemaster.service - Synchronize system clock to NTP and PTP time sources Loaded: loaded (/lib/systemd/system/timemaster.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2025-07-08 11:43:39 UTC; 3min 45s ago Docs: man:timemaster Main PID: 562 (timemaster) Tasks: 3 (limit: 1024) Memory: 2.7M CPU: 438ms CGroup: /system.slice/timemaster.service ├─562 /usr/sbin/timemaster -m -l 6 -f /etc/linuxptp/timemaster.conf ├─568 /usr/sbin/chronyd -n -f /var/run/timemaster/chrony.conf └─569 /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -S -i eth0 ----- syslog: ----- Jul 8 11:43:39 BeagleBone timemaster[562]: timemaster[35.984]: process 568 started: /usr/sbin/chronyd -n -f /var/run/timemaster/chrony.conf Jul 8 11:43:39 BeagleBone timemaster: [35.984] process 568 started: /usr/sbin/chronyd -n -f /var/run/timemaster/chrony.conf Jul 8 11:43:39 BeagleBone timemaster[562]: timemaster[36.032]: process 569 started: /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -S -i eth0 Jul 8 11:43:39 BeagleBone timemaster: [36.032] process 569 started: /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.0.conf -S -i eth0 ----- Any error or some suspected message is not found. It looks like timemaster does not start phc2sys. * What exactly did you do that was effective? There is no message but the issue seems to be started timemaster starts before eth0 is startup. So, I am not sure this issue happes on other platform but at least happens on BeagleBone Black every time. The issue is prevented if timemaster.service is changed like this. ----- [Unit] Description=Synchronize system clock to NTP and PTP time sources Documentation=man:timemaster After=network-online.target Wants=network-online.target Conflicts=chronyd.service ntpd.service phc2sys.service ptp4l.service [Service] Type=simple ExecStart=/usr/sbin/timemaster -m -l 6 -f /etc/linuxptp/timemaster.conf [Install] WantedBy=multi-user.target ----- * What was the outcome of this action? I confirmed reboot 6 times and the fix is works good. -- System Information: Debian Release: 11.11 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable') Architecture: armhf (armv7l) Kernel: Linux 5.10.168-ti-r79 (SMP w/1 CPU thread; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages linuxptp depends on: ii libc6 2.31-13+deb11u11 linuxptp recommends no packages. linuxptp suggests no packages. -- Configuration Files: /etc/linuxptp/ptp4l.conf [Errno 2] そのようなファイルやディレクトリはありません: '/etc/linuxptp/ptp4l.conf' /etc/linuxptp/timemaster.conf changed: [ptp_domain 0] interfaces eth0 delay 10e-6 [timemaster] ntp_program chronyd [chrony.conf] include /etc/chrony.conf [ntp.conf] includefile /etc/ntp.conf [ptp4l.conf] [chronyd] path /usr/sbin/chronyd [phc2sys] path /usr/sbin/phc2sys [ptp4l] path /usr/sbin/ptp4l -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 1109410-close@bugs.debian.org
- Subject: Bug#1109410: fixed in linuxptp 4.4-1
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sun, 28 Dec 2025 02:34:30 +0000
- Message-id: <E1vZgc2-009bTl-13@fasolo.debian.org>
- Reply-to: Punit Agrawal <punit@debian.org>
Source: linuxptp Source-Version: 4.4-1 Done: Punit Agrawal <punit@debian.org> We believe that the bug you reported is fixed in the latest version of linuxptp, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1109410@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Punit Agrawal <punit@debian.org> (supplier of updated linuxptp package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 28 Dec 2025 00:56:07 +0000 Source: linuxptp Architecture: source Version: 4.4-1 Distribution: unstable Urgency: medium Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> Changed-By: Punit Agrawal <punit@debian.org> Closes: 1070847 1109410 Changes: linuxptp (4.4-1) unstable; urgency=medium . [ Vincent Blut ] * New upstream version 4.4 * Update Homepage * Drop fields already set by default * Bump Standards-Version to 4.7.2 * Update upstream source URL * Add more fields to the DEP-12 upstream metadata file * Pull network-online.target and order ptp4l@.service after it (Closes: #1070847) * Add hardening features * Pull network-online.target and order timemaster.service after it (Closes: #1109410) * Rework dependencies * Add nettle-dev to Build-Depends to support Authentication TLV Checksums-Sha1: 819142221cec83b4be0d25b8fa1f6a284f55d6bf 1966 linuxptp_4.4-1.dsc f35d56a2471359856843f7e703e5e8c681a66f0d 277069 linuxptp_4.4.orig.tar.gz bc6b4746f5a68a2e5618ecf4aefac17e49397043 5864 linuxptp_4.4-1.debian.tar.xz 97f5f2044277aa8b5915634558ab65ab20bee267 6101 linuxptp_4.4-1_amd64.buildinfo Checksums-Sha256: 3c041f8e68f57292c7edbdb4bbe5a522f960eea5cbe93bd48efeac5bc37da9d0 1966 linuxptp_4.4-1.dsc 61757bc0a58d789b8fcbdddf56c88a0230597184a70dcb2ac05b4c6b619f7d5c 277069 linuxptp_4.4.orig.tar.gz 98dffd8349f68e218c35fa57fd202ed818c35d2b525fd688f9df7062f1cfa788 5864 linuxptp_4.4-1.debian.tar.xz 4447609a0fdd273a355158dd05af126231296774a43085aa7fa04f342d9f70b7 6101 linuxptp_4.4-1_amd64.buildinfo Files: 4ad9027c008035415d6b5d068bc0b258 1966 utils optional linuxptp_4.4-1.dsc f90bf31785d4af24a4f93df0a547efd6 277069 utils optional linuxptp_4.4.orig.tar.gz 2e5b2606a27992f8adb55bd5dc602904 5864 utils optional linuxptp_4.4-1.debian.tar.xz fee6a0f5dfa24d00177afa6261edca58 6101 utils optional linuxptp_4.4-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEvZ5M7BP8NElWggdO9Tkv0hP7/t0FAmlQiIYACgkQ9Tkv0hP7 /t1YlQ//R7E3vjkFDJQK4NJvrHC1fefO0OD7I7TFDJYeSxrR3tiVQ7T5zncYY4nv tLcIP1TILHYy5kgPviHgvZToIdrDaf6VKdyU48wO56EaszWK9oTX9hwv4RMVxhEd yIA4tErIRSBpii9+5HV1azpDKnmvk7c2TwhHkZV8ASFGXbsukZ/Ksc1SD/qDprN6 rVcPzjlwr+dU2nGcC6gWxZUNgB3QQ8IrU0mvM22cX8/SngZZ/p7oTzJX+xktrn6p uymJowkKs591vqPN+kAqDwopvKvS8m1zLvL9GpLkXakrmS8Betyo3bxQPxUkx6iS 5+oAAnRg4NeSOj60PKUsLuHxxxLPu9uUyCk41Vv5dHZ0LNnY8j+UcsaCLOsmu0IS N1wtbFcDlL6CD0gfTYdZQCzz1kNMhREhZKFcKLZRuR9Uivocdwc+lV+dBRMYAnOd wGWH16NRzyMojlLMQxqd3hnQ2Umfac//X7T+nL8MKqwZOFTgS31fYdcbSjAywxbM 7khd/xdjMCctyNIAULHRM85VpH8PsqbM8irAZ1RapZOaKqP7ToG+Uumazqu439xX qAhQE0xTGR6jYP7zqK/ffkVzhzJOrQA+3j+ZM5Q5mJ+MWUC0x9d3kEiaDSXxtfQZ q/0W7udeXFukmdfkj8bZRIlCTUG7qkJ4VuQ4FP4EIk2yG/rdWp8= =aiHi -----END PGP SIGNATURE-----Attachment: pgpxJGPs288e5.pgp
Description: PGP signature
--- End Message ---