#1023023 systemd[1]: ntpsec.service: Can't open PID file /run/ntpd.pid (yet?) after start: Operation not permitted

Package:
ntpsec
Source:
ntpsec
Description:
Network Time Protocol daemon and utility programs
Submitter:
Marc Haber
Date:
2023-01-17 04:21:04 UTC
Severity:
normal
#1023023#5
Date:
2022-10-29 10:23:38 UTC
From:
To:
Hi,

on my systems, systemd logs when starting up ntpsec:

systemd[1]: ntpsec.service: Can't open PID file /run/ntpd.pid (yet?) after start: Operation not permitted

The pidfile seems to be written okay though.

This is misleading when debugging ntp. The message shouldnt be there.

Greetings
Marc

#1023023#10
Date:
2023-01-17 04:20:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ntpsec, 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 1023023@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Richard Laager <rlaager@debian.org> (supplier of updated ntpsec 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)
Format: 1.8
Date: Mon, 16 Jan 2023 21:50:45 -0600
Source: ntpsec
Architecture: source
Version: 1.2.2+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Richard Laager <rlaager@debian.org>
Changed-By: Richard Laager <rlaager@debian.org>
Closes: 1023023
Changes:
 ntpsec (1.2.2+dfsg1-1) unstable; urgency=medium
 .
   * New upstream version
     - Restore/cleanup NTPv1 support
     - NTS supports partial wildcards, for example *.example.com
     - Work on documentation, ntpdate, ntpheat, ntploggpg, ntpq’s sysstats,
       ntpviz, and seccomp.
     - NTP auth no longer breaks on NULs.
     - The NTS server now saves 10 days worth of cookie keys. This will allow
       clients that only poll once a day to use NTS without using NTS-KE to
       keep cookies up to date.
     - rawstats now logs dropped packets and their BOGON code
     - Add 4 or 6 to DNS/NTS RefID tags to indicate that the DNS or NTS-KE has
       succeeded but NTP has not worked yet.
     - Fix hash validation in ntpleapfetch again
   * Update Standards-Version to 4.6.2 (no changes)
   * Write pidfile in parent (Closes: 1023023)
Checksums-Sha1:
 f44505f62f9b315b999e4ae0c12dc5660be002d6 2593 ntpsec_1.2.2+dfsg1-1.dsc
 bc8d5a18dcebc470360a640df530849f7d58461e 2317956 ntpsec_1.2.2+dfsg1.orig.tar.xz
 34d3d46b18bea48294e985becf23e028bafd10c9 57628 ntpsec_1.2.2+dfsg1-1.debian.tar.xz
 c994388f06b4d39f0289193b0d647d75a233289d 8697 ntpsec_1.2.2+dfsg1-1_source.buildinfo
Checksums-Sha256:
 61b0c575eddeb61bb34e14cbf5d6081f51c47f369c1cef028ffa40c7e12a7238 2593 ntpsec_1.2.2+dfsg1-1.dsc
 53e527e3d04d551d41af2d359c2715c2de5f5bfa2a695d4ec1a811b3e9137f63 2317956 ntpsec_1.2.2+dfsg1.orig.tar.xz
 5690df97be061677437c9bdda68ef8f94f376219af1454e4344f0fcef346b539 57628 ntpsec_1.2.2+dfsg1-1.debian.tar.xz
 e15dd417c94cc8f838f8b5ec5a8f2cb02eb2cde6a1b0f777a5419e3ec30e06c4 8697 ntpsec_1.2.2+dfsg1-1_source.buildinfo
Files:
 427270d39cf549b3a56d77f7bb09c3ab 2593 net optional ntpsec_1.2.2+dfsg1-1.dsc
 2787c8145e6ba35c52967d020b38ade0 2317956 net optional ntpsec_1.2.2+dfsg1.orig.tar.xz
 09d40bd3555b34c895967929b1f973ef 57628 net optional ntpsec_1.2.2+dfsg1-1.debian.tar.xz
 ab54dad3fcd01f93f2154124700891ec 8697 net optional ntpsec_1.2.2+dfsg1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEE1Ot9lOeOTujs4H+U+HlhmcBFhs4FAmPGG48ACgkQ+HlhmcBF
hs6sqA/3SJrYdyo4SWvXCPMp5/SHb/qyNPxAdvMGNc1u4BZbMyVXA1xq/s683vqO
SjJOXEaxScPPTJDZNrndQhjh1laSoii2ZTVlIaEpHY1f1OrPtTNTkYZ0RenfBLaj
HPjFQkb1JKdcOLaYt1EYlhohslYtk3MNWmpV9+mUnpet2/Ara/YpwP4arxt8R6Jr
TkdA6bexvPicJjivQAGD8/6ZPTKVnNQbM0lkvZc9AknDYLUFXFR0TKjLXtL9xoEm
DKRxmwyU9vcHIt9Hx7Ui7PgnfiCRotQBYytDvkT5vH7ShiqB76T79QHXSpeaPJQB
TYAexQIqQO7/zjXZxn73WJFDPIQrDVJtsKqJ3dwS8pH/AGjrycmko0wvxk3nbthJ
Dcbn9Xnk+xrxWvnNMX2hTxCC0ScqmLGfSye/3y94cMDBdhTqr7e45Sur1S9yqoeH
KMf3tueC8z1eWdHEfUeqoH93SKR5ADt80fvOLXEg0taUFzoWFxBQZVnAne+cP4Ev
wIHk+5WU3CplNGdvAKW3hGGEFt0KuoWasWuUv34jtI7OPd3qTnvGJt/tkbRy9P3B
O77Iu0kCiX40RdWFI8pQdo6Eoc4HcXkFlLcnESJcRdr1rOgTv7BsCieo4GbZQ56o
PD93u/7uLUpo1N6nI66b6IJHwQp2jMrEOYNvOGM+uNVVSiIg9A==
=Wbqd
-----END PGP SIGNATURE-----