-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
rhel-8.9.0
-
None
-
Important
-
rhel-sst-upgrades
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
noarch
-
None
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.
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.
RHEL 9 has the logrotate feature disabled, causing problems with logs in our customers' environments.