...
What were you trying to do that didn't work? Upgrading from RHEL 8 to 9 logrotate.timer is not enabled by default. In previous versions of RHEL 9 logrotate was controlled by cron.daily, and now it is controlled by systemd (logrotate.timer). When upgrading from RHEL 8 to 9, the service is not enabled and the logs are not rotated. There is nothing in the documentation that states that the service has to be enabled post-update. If this is expected behavior, the documentation must be updated informing the steps to be carried out in the post-update. systemctl enable --now logrotate.timer Please provide the package NVR for which bug is seen: leapp-0.16.0-2.el8.noarch.rpm Steps and How reproducible: 1) Install RHEL 8; 2) # dnf install leapp-upgrade -y 3) # leapp preupgrade 4) # leapp upgrade --reboot 5) Wait for RHEL 9 to restart and type the command below. systemctl status logrotate.timer ○ logrotate.timer - Daily rotation of log files Loaded: loaded (/usr/lib/systemd/system/logrotate.timer; disabled; preset: enabled) Active: inactive (dead) Trigger: n/a Triggers: ● logrotate.service Docs: man:logrotate(8) man:logrotate.conf(5) Expected results The expected result is that it enables logrotate.timer as is the RHEL 9 installation default. systemctl enable --now logrotate.timer Actual results RHEL 9 has the logrotate feature disabled, causing problems with logs in our customers' environments.
Unresolved
Click on a version to see all relevant bugs
Red Hat Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.