Bug 1992155

Summary: consider splitting out logrotate config and dependency in a subpackage
Product: Red Hat Enterprise Linux 9 Reporter: Davide Cavalca <davide>
Component: rsyslogAssignee: Attila Lakatos <alakatos>
Status: CLOSED ERRATA QA Contact: Dalibor Pospíšil <dapospis>
Severity: unspecified Docs Contact: Jan Fiala <jafiala>
Priority: low    
Version: CentOS StreamCC: alakatos, bstinson, dapospis, jafiala, jwboyer, pasik, rsroka
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rsyslog-8.2102.0-10.el9 Doc Type: Enhancement
Doc Text:
.`logrotate` included in a separate `rsyslog-logrotate` package The `logrotate` config was separated from the main `rsyslog` package into the new `rsyslog-logrotate` package. This is useful in certain minimal environments, for example where log rotation is not needed, to prevent installing unnecessary dependencies.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 12:58:55 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 Davide Cavalca 2021-08-10 16:38:23 UTC
rsyslog currently Requires: logrotate and installs a logrotate config as part of the main rsyslog package. This is fine in most cases, but it isn't ideal for minimal environments (that may not need/want logrotate) and for environments that use a different system (or a different logrotate configuration) for rotating logs (where the default config may conflict or fail). To this end, I'd like to request splitting the logrotate config and its dependency into a rsyslog-logrotate, and adding a Recommends for it to the main rsyslog package. This wouldn't change the default behavior, but it would provide the option to not install the logrotate config if one so desires.

This is the c9s version of https://bugzilla.redhat.com/show_bug.cgi?id=1992153 which tracks the same request in Fedora.

Comment 1 Davide Cavalca 2021-08-10 16:54:24 UTC
https://gitlab.com/redhat/centos-stream/rpms/rsyslog/-/merge_requests/5 is the related MR for this.

Comment 2 Davide Cavalca 2021-10-26 16:22:48 UTC
Any update on this? I see the corresponding Fedora change was merged and https://bugzilla.redhat.com/show_bug.cgi?id=1992153 was closed. I specifically care about CentOS Stream 9, but this issue impacts RHEL as well, so it'd be great to get it merged in time for the RHEL 9 release. Thanks!

Comment 3 Attila Lakatos 2021-10-27 04:54:32 UTC
Hello,

I am not against the idea to introduce such subpackage in rhel-9. The soonest version where it's possible to do this is 9.0 . Thank you for your understanding.

Comment 19 errata-xmlrpc 2022-05-17 12:58:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: rsyslog), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2429