a quick look into /etc/crontab shows that this issue still exists at least in 9.10:
cat /etc/crontab 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) You can confirm this by executing run-parts --test /etc/cron.daily - this will show which programs would be executed without actually executing them. To actually fix this problem, it would be necessary to add --regex='.*' to the respective run-parts calls in /etc/crontab. Simply having the --regex option is not sufficient when it is not actually used. See attached patch for details (which also fixes the same problem with /etc/anacrontab to avoid inconsistencies. p.s. a similar problem exists with cron.d, which is *not* addressed by this patch. The solution is probably the same as given here, unfortunately I do not know where the cron.d entries are executed from. ** Attachment added: "partial fix for Issue #38022" http://launchpadlibrarian.net/37920873/ubuntu_bug_38022.diff ** Also affects: cron (Ubuntu) Importance: Undecided Status: New ** Changed in: debianutils (Ubuntu) Status: Confirmed => Fix Released ** Also affects: anacron (Ubuntu) Importance: Undecided Status: New -- cron (run-parts) doesn't run script with sh extension https://bugs.launchpad.net/bugs/38022 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
