Bug 1177286

Summary: logrotate should use systemd timer unit instead of cron.daily
Product: [Fedora] Fedora Reporter: Marcel Holtmann <marcel>
Component: logrotateAssignee: Jan Kaluža <jkaluza>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 21CC: jkaluza, t
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1655153 (view as bug list) Environment:
Last Closed: 2015-07-23 07:12:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.