Package: openntpd Version: 1:6.2p3-4.1 Severity: important Dear Maintainer,
openntpd installs a smart if-up.d script to reload the configuration when an interface is started. It blocks the boot process until a timeout occurs at the "Raise network interfaces" step. I noticed an "invoke-rc.d force-reload" in the script. this force-reload is supported by SysV scripts, but not by SystemD scripts, according to the doc. I changed the "force-reload" to a simple 'reload', and the boot process is not blocked anymore. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages openntpd depends on: ii adduser 3.118 ii libc6 2.31-11 ii lsb-base 11.1.0 ii netbase 6.3 openntpd recommends no packages. Versions of packages openntpd suggests: ii apparmor 2.13.6-10 -- Configuration Files: /etc/apparmor.d/usr.sbin.ntpd changed: /usr/sbin/ntpd flags=(attach_disconnected) { #include <abstractions/base> #include <abstractions/nameservice> # conf /etc/openntpd/ntpd.conf r, # capabilities capability kill, capability sys_chroot, capability setgid, capability setuid, capability sys_time, capability sys_nice, /usr/sbin/ntpd mrix, /var/lib/openntpd/db/ntpd.drift rw, /var/lib/openntpd/run/ntpd.sock rw, /run/openntpd.pid rw, } /etc/default/openntpd changed: DAEMON_OPTS="-f /etc/openntpd/ntpd.conf -p /var/run/openntpd.pid" /etc/network/if-up.d/openntpd changed: CONFIG="/etc/openntpd/ntpd.conf" if [ "${METHOD}"X = "loopback"X ] || [ "${METHOD}"X = "none"X ] then exit 0 fi invoke-rc.d openntpd reload || true /etc/openntpd/ntpd.conf changed: listen on 127.0.0.1 servers 0.debian.pool.ntp.org servers 1.debian.pool.ntp.org servers 2.debian.pool.ntp.org servers 3.debian.pool.ntp.org -- no debconf information -- François - 21 rue d'Eaubonne - 95580 Margency Free : +33 6 03 01 55 12 http://www.cerbelle.net
signature.asc
Description: PGP signature