Bug 1177286 - logrotate should use systemd timer unit instead of cron.daily
Summary: logrotate should use systemd timer unit instead of cron.daily
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: logrotate
Version: 21
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-25 19:27 UTC by Marcel Holtmann
Modified: 2018-11-30 19:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 1655153 (view as bug list)
Environment:
Last Closed: 2015-07-23 07:12:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marcel Holtmann 2014-12-25 19:27:00 UTC
There is no need for logrotate to use cron.daily. The same can be accomplished with a systemd timer unit.

Comment 1 Jan Kaluža 2015-07-23 07:12:45 UTC
That would be against Packaging Guidelines:

"""
Packages which do not already depend or require systemd must not use timer units but instead depend and have requirement on crontabs, to avoid introducing unnecessary new dependencies on systemd directly.
"""

Closing as WONTFIX.

Comment 2 Theodore Cowan 2018-11-30 19:03:16 UTC
It's time to re-evaluate this.  crond isn't even installed on cloud images of Fedora 28+ and systemd is ubiquitous.

logrotate should take on cronie as a dependency or user systemd-timer.


Note You need to log in before you can comment on or make changes to this bug.