Should logrotate timer be enabled by default on all installations?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



logrotate is a utility designed to simplify the administration of log files on 
a system which generates a lot of log files.  It used to be triggered by cron.  
The cron hook was unconditionally installed with logrotate but it took effect 
only if a cron daemon was installed.

Starting with Fedora 30, logrotate is triggered by a systemd timer instead.  
In order to make updates smoother, the timer was enabled on updates in case
a cron daemon was configured on the system.

The timer is currently not enabled on fresh installs to avoid surprises (such 
as data lost) on systems where logrotate is installed but not actually used.  
logrotate can also be triggered independently of systemd/cron and can be even 
run by non-privileged users to rotate logs they have access to.

Some people think that the logrotate timer should be enabled by default on all 
systems where the logrotate package is installed:

    https://bugzilla.redhat.com/1655153#c4

Do you think it would be a good idea?

Kamil

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux