Debian Bug report logs -
#992649
run-parts in /usr/bin breaks systemd-cron
Reported by: Robert Edmonds <edmonds@debian.org>
Date: Sat, 21 Aug 2021 18:21:01 UTC
Severity: important
Found in version debianutils/5.3-1
Fixed in version debianutils/5.6-0.1
Done: Bastian Blank <waldi@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#992649; Package debianutils.
(Sat, 21 Aug 2021 18:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Robert Edmonds <edmonds@debian.org>:
New Bug report received and forwarded. Copy sent to Clint Adams <clint@debian.org>.
(Sat, 21 Aug 2021 18:21:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: debianutils
Version: 5.3-1
Severity: important
Hi,
systemd-cron's cron targets fail without being able to invoke
/bin/run-parts, e.g.:
● cron-daily.service - systemd-cron daily script service
Loaded: loaded (/lib/systemd/system/cron-daily.service; static)
Active: failed (Result: exit-code) since Sat 2021-08-21 06:25:03 EDT; 41ms ago
Docs: man:systemd.cron(7)
Process: 833540 ExecStartPre=/lib/systemd-cron/boot_delay 5 (code=exited, status=0/SUCCESS)
Process: 833541 ExecStart=/bin/run-parts --report /etc/cron.daily (code=exited, status=203/EXEC)
Main PID: 833541 (code=exited, status=203/EXEC)
CPU: 27ms
Aug 21 06:25:03 chase systemd[1]: Starting systemd-cron daily script service...
Aug 21 06:25:03 chase systemd[833541]: cron-daily.service: Failed to locate executable /bin/run-parts: No such file or directory
Aug 21 06:25:03 chase systemd[833541]: cron-daily.service: Failed at step EXEC spawning /bin/run-parts: No such file or directory
Aug 21 06:25:03 chase systemd[1]: cron-daily.service: Main process exited, code=exited, status=203/EXEC
Aug 21 06:25:03 chase systemd[1]: cron-daily.service: Failed with result 'exit-code'.
Aug 21 06:25:03 chase systemd[1]: Failed to start systemd-cron daily script service.
Aug 21 06:25:03 chase systemd[1]: cron-daily.service: Triggering OnFailure= dependencies.
-- System Information:
Debian Release: 11.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-8-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debianutils depends on:
ii libc6 2.31-16
debianutils recommends no packages.
debianutils suggests no packages.
-- no debconf information
--
Robert Edmonds
edmonds@debian.org
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#992649; Package debianutils.
(Sat, 21 Aug 2021 18:45:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Clint Adams <clint@debian.org>:
Extra info received and forwarded to list.
(Sat, 21 Aug 2021 18:45:06 GMT) (full text, mbox, link).
Message #10 received at 992649@bugs.debian.org (full text, mbox, reply):
On Sat, Aug 21, 2021 at 02:12:14PM -0400, Robert Edmonds wrote:
> Hi,
>
> systemd-cron's cron targets fail without being able to invoke
> /bin/run-parts, e.g.:
>
> ● cron-daily.service - systemd-cron daily script service
> Loaded: loaded (/lib/systemd/system/cron-daily.service; static)
> Active: failed (Result: exit-code) since Sat 2021-08-21 06:25:03 EDT; 41ms ago
> Docs: man:systemd.cron(7)
> Process: 833540 ExecStartPre=/lib/systemd-cron/boot_delay 5 (code=exited, status=0/SUCCESS)
> Process: 833541 ExecStart=/bin/run-parts --report /etc/cron.daily (code=exited, status=203/EXEC)
> Main PID: 833541 (code=exited, status=203/EXEC)
> CPU: 27ms
>
> Aug 21 06:25:03 chase systemd[1]: Starting systemd-cron daily script service...
> Aug 21 06:25:03 chase systemd[833541]: cron-daily.service: Failed to locate executable /bin/run-parts: No such file or directory
> Aug 21 06:25:03 chase systemd[833541]: cron-daily.service: Failed at step EXEC spawning /bin/run-parts: No such file or directory
> Aug 21 06:25:03 chase systemd[1]: cron-daily.service: Main process exited, code=exited, status=203/EXEC
> Aug 21 06:25:03 chase systemd[1]: cron-daily.service: Failed with result 'exit-code'.
> Aug 21 06:25:03 chase systemd[1]: Failed to start systemd-cron daily script service.
> Aug 21 06:25:03 chase systemd[1]: cron-daily.service: Triggering OnFailure= dependencies.
It looks like systemd-cron is hard-coding the path to run-parts in two places:
* cron-boot.service
* cron-schedule.service
If this gets fixed, debianutils can add a Breaks for the appropriate
version of systemd-cron.
Added indication that 992649 affects systemd-cron
Request was from Simon McVittie <smcv@debian.org>
to control@bugs.debian.org.
(Tue, 14 Sep 2021 23:57:02 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#992649; Package debianutils.
(Sun, 02 Jan 2022 18:06:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Alexandre Detiste <alexandre.detiste@gmail.com>:
Extra info received and forwarded to list. Copy sent to Clint Adams <clint@debian.org>.
(Sun, 02 Jan 2022 18:06:05 GMT) (full text, mbox, link).
Message #17 received at 992649@bugs.debian.org (full text, mbox, reply):
Hi,
I found this bug by luck.
I miss the context (why ? UsrMerge ?)
I can build systemd-cron like this during the transition:
./configure --runparts="/usr/bin/env run-parts"
Greetings,
Alexandre Detiste
Information forwarded
to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#992649; Package debianutils.
(Sat, 15 Jan 2022 14:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Dominique Dumont <dod@debian.org>:
Extra info received and forwarded to list. Copy sent to Clint Adams <clint@debian.org>.
(Sat, 15 Jan 2022 14:42:03 GMT) (full text, mbox, link).
Message #22 received at 992649@bugs.debian.org (full text, mbox, reply):
On Sun, 2 Jan 2022 19:03:28 +0100 Alexandre Detiste
<alexandre.detiste@gmail.com> wrote:
> ./configure --runparts="/usr/bin/env run-parts"
The changelog of debianutils 5.0-1 (Aug 2021) shows:
* Move run-parts to /usr/bin
I guess there are 2 ways to fix this.
Either a compat link (or a script with a deprecation warning) should be
provided by debianutils as /bin/run-parts or systemd-cron should be modified
to use /usr/bin/run-parts.
What's preventing such a fix ?
Note that locate is also impacted by this bug :
$ locate foobarbaz
locate: warning: database ‘/var/cache/locate/locatedb’ is more than 8 jours
old (actual age is 135,0 jours)
All the best
Dod
Reply sent
to Bastian Blank <waldi@debian.org>:
You have taken responsibility.
(Fri, 21 Jan 2022 22:36:13 GMT) (full text, mbox, link).
Notification sent
to Robert Edmonds <edmonds@debian.org>:
Bug acknowledged by developer.
(Fri, 21 Jan 2022 22:36:13 GMT) (full text, mbox, link).
Message #27 received at 992649-close@bugs.debian.org (full text, mbox, reply):
Source: debianutils
Source-Version: 5.6-0.1
Done: Bastian Blank <waldi@debian.org>
We believe that the bug you reported is fixed in the latest version of
debianutils, 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 992649@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Blank <waldi@debian.org> (supplier of updated debianutils 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: Fri, 21 Jan 2022 23:12:40 +0100
Source: debianutils
Architecture: source
Version: 5.6-0.1
Distribution: unstable
Urgency: medium
Maintainer: Clint Adams <clint@debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Closes: 992481 992615 992639 992649 993582 993700 1000866
Changes:
debianutils (5.6-0.1) unstable; urgency=medium
.
[ Bastian Blank ]
* Non-maintainer upload.
* Implement CTTE ruling #994275.
* Revert deprecation of which (no. 2).
closes: #993582, #993700
* Restore tempfile (no. 4).
* Revert move to /usr (no. 5).
closes: #992481, #992615, #992639, #992649
* Remove not longer applicable NEWS entry.
* Force creation of translated man-pages to fix all build.
.
[ Johannes Schauer Marin Rodrigues ]
* also distribute *.po files and *.add files in dist tarball
(closes: #1000866)
Checksums-Sha1:
b581f6909bb3c8bc962a8bd1a6c7e3d61cda810d 1542 debianutils_5.6-0.1.dsc
b8c953ab36b0bb1de6a19b45c76c977e2f4d3115 260015 debianutils_5.6.orig.tar.gz
e9a441f4aaa5298884510256ea32c8f8549366c7 21528 debianutils_5.6-0.1.debian.tar.xz
3137949fd42667427c480dc22361d791be6fcafa 4199 debianutils_5.6-0.1_source.buildinfo
Checksums-Sha256:
2671fda94b35ca465cb21bb6095ed346f518562f76c19db25cef51d135ebee4c 1542 debianutils_5.6-0.1.dsc
6515c87165548b40ea9881074bea68cef982fa7453d03a954e145bc20901ba55 260015 debianutils_5.6.orig.tar.gz
8f7f1ef31aaf8dafcb4fa2c946719fef2835148c94a41538d36472e86076b2dd 21528 debianutils_5.6-0.1.debian.tar.xz
2f26636d9f95dcffca3b7c820bfe28754e982d8c06ea1fae7b28ddde0908d841 4199 debianutils_5.6-0.1_source.buildinfo
Files:
4e4c545ff7afc80b91531bb6c3c14060 1542 utils required debianutils_5.6-0.1.dsc
95ee64054860f6cd055eb81035bd75de 260015 utils required debianutils_5.6.orig.tar.gz
cb387c3b6bd165d29da7adc882fa11e6 21528 utils required debianutils_5.6-0.1.debian.tar.xz
6512a4abe1eb215fe5409075419fb04d 4199 utils required debianutils_5.6-0.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEER3HMN63jdS1rqjxLbZOIhYpp/lEFAmHrMIYACgkQbZOIhYpp
/lHFaQgA01wo6/y/V5Vkpr9KhlkYWx7OiKWMr1uhH/Q81OEN2PlWimHCrZbT+Vb2
onPW50xFbOCrrhtBia/scWkc4Et9J5F8Vkg+vXyZMc71PzTjoNKcVCircd+V+gPR
MxKDsaK0+UyseEg9FIzm1ABOuv0+RJNLof5nhzS2Spv6IOO7TAHiJBziqDo9oU22
JrQYJD7mELhPIMPjfhkvnrHhbXvdR2gdlSIFqCNSqQqq0uq9Z0uR/hVUaj1wpuZ3
o6nbZc5F1zZ7FBnlXPvzLK6ZZy6Ufv45mhOgiEPiaItpW4Ptcha1apQe7YCZ4nZv
xiIltQcVntsID9svhKeZO52Ad55Iqg==
=PUAT
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 20 Feb 2022 07:27:29 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 01:18:23 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.