[Bug 1993037] Re: hardcoded wrong path to run-parts in cron-*.service
Wladimir Mutel
1993037 at bugs.launchpad.net
Mon Oct 17 08:58:56 UTC 2022
** Also affects: debianutils (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debianutils in Ubuntu.
https://bugs.launchpad.net/bugs/1993037
Title:
hardcoded wrong path to run-parts in cron-*.service
Status in debianutils package in Ubuntu:
New
Status in systemd-cron package in Ubuntu:
New
Bug description:
package debianutils keeps run-parts executable in /usr/bin/
while package systemd-cron tries to find it in /bin/
$ which run-parts
/usr/bin/run-parts
$ dpkg -S `which run-parts`
debianutils: /usr/bin/run-parts
$ grep =/bin/run /lib/systemd/system/cron*
/lib/systemd/system/cron-daily.service:ExecStart=/bin/run-parts --report /etc/cron.daily
/lib/systemd/system/cron-hourly.service:ExecStart=/bin/run-parts --report /etc/cron.hourly
/lib/systemd/system/cron-monthly.service:ExecStart=/bin/run-parts --report /etc/cron.monthly
/lib/systemd/system/cron-weekly.service:ExecStart=/bin/run-parts --report /etc/cron.weekly
Because of that, cron-daily.serice gets info "failed" state soon after
system reboot.
Please resolve the problem to make systemd-cron more usable.
Thanks in advance for your help.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/1993037/+subscriptions
More information about the foundations-bugs
mailing list