Bug#1040304: systemd-cron: apt-cacher-ng daily job fail with new no-run-parts mode

Alexandre Detiste alexandre.detiste at gmail.com
Tue Jul 4 10:34:03 BST 2023


Package: systemd-cron
Version: 1.15.21-1
Severity: normal


Since the new version of systemd-cron that does not rely on run-parts
to run the hourly/daily/weekly job as as whole; the ACNG job
will fail most times.

Something with the environment must be a tiny different.

Greetings,


× cron-daily-apt-cacher-ng.service - [Cron] "/etc/cron.daily/apt-cacher-ng"
     Loaded: loaded (/etc/cron.daily/apt-cacher-ng; generated)
     Active: failed (Result: exit-code) since Tue 2023-07-04 10:50:57 CEST; 159ms ago
TriggeredBy: ● cron-daily-apt-cacher-ng.timer
       Docs: man:systemd-crontab-generator(8)
    Process: 16465 ExecStart=/etc/cron.daily/apt-cacher-ng (code=exited, status=1/FAILURE)
   Main PID: 16465 (code=exited, status=1/FAILURE)
        CPU: 94ms

jui 04 10:50:11 antec systemd[1]: Starting cron-daily-apt-cacher-ng.service - [Cron] "/etc/cron.daily/apt-cacher-ng"...
jui 04 10:50:57 antec apt-cacher-ng[16505]: Could not make a valid request to the server.
    Please visit http://UNIX-DOMAIN-SOCKET/acng-report.html?doExpire=Start+Expiration&abortOnErrors=aOe and check special conditions.
jui 04 10:50:57 antec systemd[1]: cron-daily-apt-cacher-ng.service: Main process exited, code=exited, status=1/FAILURE
jui 04 10:50:57 antec systemd[1]: cron-daily-apt-cacher-ng.service: Failed with result 'exit-code'.
jui 04 10:50:57 antec systemd[1]: Failed to start cron-daily-apt-cacher-ng.service - [Cron] "/etc/cron.daily/apt-cacher-ng".
jui 04 10:50:57 antec systemd[1]: cron-daily-apt-cacher-ng.service: Triggering OnFailure= dependencies.

-- Package-specific info:
-- output of systemd-delta

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd-cron depends on:
ii  cron-daemon-common          3.0pl1-162
ii  libc6                       2.36-9
ii  python3                     3.11.2-1+b1
ii  systemd [systemd-sysusers]  252.11-1
ii  systemd-sysv                252.11-1

systemd-cron recommends no packages.

Versions of packages systemd-cron suggests:
ii  nullmailer [mail-transport-agent]  1:2.2+10~g7ed88a0-1

-- no debconf information


More information about the Pkg-systemd-maintainers mailing list