Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872656 - sys-process/cronie - hourly cron jobs are not executed when compiled with "-anacron" USE flag
Summary: sys-process/cronie - hourly cron jobs are not executed when compiled with "-a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-24 13:20 UTC by Sergey Okhapkin
Modified: 2022-09-24 21:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Okhapkin 2022-09-24 13:20:29 UTC
The current sys-process/cronie ebuild installs 0hourly file to /etc/cron.d only if anacron support is enabled. The file should be installed unconditionally or hourly cron jobs are not executed on anacron-less systems.
Comment 1 Mike Gilbert gentoo-dev 2022-09-24 16:57:26 UTC
Bug 825026 appears to be asking for the opposite behavior, which makes no sense to me.
Comment 2 Sergey Okhapkin 2022-09-24 17:20:20 UTC
The behavior asked in the bug 825026 makes no sense to me too. Hourly, daily, weekly and monthly jobs should be executed regardless of "anacron" USE flag.
Comment 3 Larry the Git Cow gentoo-dev 2022-09-24 21:20:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148d949d279f94cfade0bd994b1312aa584e92be

commit 148d949d279f94cfade0bd994b1312aa584e92be
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-09-24 21:18:39 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-24 21:18:39 +0000

    sys-process/cronie: install /etc/cron.d/0hourly unconditionally
    
    Closes: https://bugs.gentoo.org/872656
    Closes: https://bugs.gentoo.org/825026
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-process/cronie/cronie-1.6.1-r2.ebuild | 116 ++++++++++++++++++++++++++++++
 1 file changed, 116 insertions(+)