Your message dated Sat, 12 Apr 2025 01:07:03 +0000
with message-id <[email protected]>
and subject line Bug#1086000: fixed in ntpsec 1.2.3+dfsg1-5
has caused the Debian Bug report #1086000,
regarding ntpsec: ntpd runs with SCHED_FIFO 99 and might starve the system
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 [email protected]
immediately.)


-- 
1086000: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086000
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ntpsec
Version: 1.2.2+dfsg1-1+deb12u1
Severity: important

Dear Maintainer,

the ntpsec service starts the ntpd binary with the option "-N|--nice" (defined
in ntpsec.default (/etc/default/ntpsec) [1]. By that, the ntpd will run with
the highest possible priority, which is SCHED_FIFO, prio 99. These
priorities are discouraged as this can starve kernel threads. I also
don't think that it is the intention of the maintainer to let it run at
such a high priority.

Some recent stalls of PREEMPT_RT systems we observed could be related to
this.

Despite this option being called "nice", it does not just set the
niceness level. The corresponding code in ntpd is found in [2].
Removing this option lets the ntpd run with SCHED_OTHER, prio 20.

[1] 
https://salsa.debian.org/debian/ntpsec/-/blob/debian/unstable/debian/ntpsec.default?ref_type=heads#L1
[2] 
https://github.com/ntp-project/ntp/blame/9c75327c3796ff59ac648478cd4da8b205bceb77/ntpd/ntpd.c#L446

Best regards,
Felix Moessbauer
Siemens AG

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.11+bpo-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ntpsec depends on:
ii  adduser                    3.134
ii  init-system-helpers        1.65.2
ii  libbsd0                    0.11.7-2
ii  libc6                      2.36-9+deb12u8
ii  libcap2                    1:2.66-4
ii  libssl3                    3.0.14-1~deb12u2
ii  netbase                    6.4
ii  python3                    3.11.2-1+b1
pn  python3-ntp                <none>
ii  sysvinit-utils [lsb-base]  3.06-4
ii  tzdata                     2024a-0+deb12u1

Versions of packages ntpsec recommends:
ii  cron [cron-daemon]  3.0pl1-162
ii  systemd             252.30-1~deb12u2

Versions of packages ntpsec suggests:
ii  apparmor       3.0.8-3
pn  certbot        <none>
pn  ntpsec-doc     <none>
pn  ntpsec-ntpviz  <none>

--- End Message ---
--- Begin Message ---
Source: ntpsec
Source-Version: 1.2.3+dfsg1-5
Done: Richard Laager <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Richard Laager <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 08 Apr 2025 00:54:46 +0000
Source: ntpsec
Built-For-Profiles: noudeb
Architecture: source
Version: 1.2.3+dfsg1-5
Distribution: unstable
Urgency: medium
Maintainer: Richard Laager <[email protected]>
Changed-By: Richard Laager <[email protected]>
Closes: 1086000 1091303
Changes:
 ntpsec (1.2.3+dfsg1-5) unstable; urgency=medium
 .
   * Backport more armhf fixes (Closes: 1091303)
   * Stop running with real-time priority (Closes: 1086000)
Checksums-Sha1:
 96724f3a5829f7cf52ae1f6f29cfad5a9ebf3627 2436 ntpsec_1.2.3+dfsg1-5.dsc
 4e28e87e8e3eda3fe36f54f7898d239454af3c61 2327860 ntpsec_1.2.3+dfsg1.orig.tar.xz
 bfbf6bd250fbe3a11e11a5d465f65cd03c65807c 64740 
ntpsec_1.2.3+dfsg1-5.debian.tar.xz
 cc4fb807fb79086683b27ad233812f9dd7e73ae5 9781 
ntpsec_1.2.3+dfsg1-5_source.buildinfo
Checksums-Sha256:
 a4d75a7f78eb697823131c5fced1aa4761913fd79ab3bbc01729f1fae07aeb41 2436 
ntpsec_1.2.3+dfsg1-5.dsc
 99674bbb98a43875fcdd627b5bf28d3dc94109e0ddfef4dc340be8c097612bdb 2327860 
ntpsec_1.2.3+dfsg1.orig.tar.xz
 052451ed0b9cda1a083956ddc1960e44bd5871367e5df0e42d676d6b21da8338 64740 
ntpsec_1.2.3+dfsg1-5.debian.tar.xz
 3efdc6e2f8fdc419009de725439df87a6baf5ac61777a42a8e6cd37af2c54bed 9781 
ntpsec_1.2.3+dfsg1-5_source.buildinfo
Files:
 2a3f33e697bdb9e991a7d70ca9600f9f 2436 net optional ntpsec_1.2.3+dfsg1-5.dsc
 5925d80ffb722a256bb0e5699d709343 2327860 net optional 
ntpsec_1.2.3+dfsg1.orig.tar.xz
 cefc9d5c6b2c4a02b7f65b4b1b8acbe4 64740 net optional 
ntpsec_1.2.3+dfsg1-5.debian.tar.xz
 c9f072b4b18f389f33cb5ea2ba0e05cf 9781 net optional 
ntpsec_1.2.3+dfsg1-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE1Ot9lOeOTujs4H+U+HlhmcBFhs4FAmf5t0YACgkQ+HlhmcBF
hs5Ktw//Xqw7wWyn0nUoSR1uYB1yN8t88VF6xhIZ6+26H63TNpLGjUBwA+HxtmpC
hv/s2aAMJyE5UysxfWP/tHQpCz6HSsXFkWA15i1gFoHqwXZwSAGVHQHueAvDGs++
AWUPWrE3urfpsxIwOSWVJh7btlSH99h+yDQJ3+YlZoD72MyS4HVP7+1CRKyt7fiB
wgXdaJGx/J3fodMfIMhC0Hkp4PrF+fxeEVWD9VBOZM+/ftD4Vu5IYGxLQvb4iTDW
oZfrswHhK6jLbPwF0dXuYGGIH99gCaJIB6wIdfgSTzy2LMtmKWY5lm3qFh9x2OPh
c9bPjvpkBIGlv3RnPRCTta/fTUV4/gCdrjYtYRZMGimCZF4stCU7/Vfo4Bj5NKev
UaMjI8OzZPWBeDsnoHvRTFKK2hvqDWYijYVCRMn+cfPM+oXhBSbw9erNd47y2Qmy
N21cIMxXtHdvEuaB6yiH7Ropa6dN7OdANqCLqtswq7dg7N1G5yKB9IVfZvFMI21U
buMJVJ0g4w8yIgvDRUHiVa4wwED6SmWZnQqlGH+hwKIC/b9lUTeiBcVCkfl3q1/z
/e7Rv7C/h6LW+4zsWol61ZByazM+DeZYwlO9YiY7FMzdwSaOOQhQEqWddsg88nX9
I9p8bnHuNw3BVMxr+i9H9Q9Hkr+EpeN73FIK5LFCMc7fILUHRnU=
=6Oqh
-----END PGP SIGNATURE-----

Attachment: pgp3bWgoNuVYN.pgp
Description: PGP signature


--- End Message ---

Reply via email to