-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-7.9.z, rhel-8.9.0.z
-
Major
-
sst_upgrades
-
False
-
What were you trying to do that didn't work?
After a leapp upgrade rsyslog stopped logging to files under "/var/log" post log rotation. This occurred because during the upgrade, the /etc/logrotate.d/syslog.rpmnew file was generated and the change was required to function on RHEL 8.
Please provide the package NVR for which bug is seen:
Steps to reproduce
- [root@r7 ~]# echo " " >> /etc/logrotate.d/syslog
- [root@r7 ~]# rpm -Vv rsyslog | grep logrotate.d
S.5....T. c /etc/logrotate.d/syslog - [root@r7 ~]# leapp upgrade && reboot
Expected results
Unsure the best resolution here and keeping other rpmnew/rpmsave files in mind
- leapp should have some report somewhere that rpmnew/rpmsave files were created. This output is hidden in the upgrade.log and users don't know to look for it.
- Or rsyslog should be replacing that file regardless of customizations but this has been intentionally in effect since 2008 so I dont think this would be good for them to take away
- Leapp should replace the configuration file for rsyslog, or make a report on it, since we know its an issue. It's a post upgrade task which is problematic as most customers have moved onto the leapp docs which say to just clean up the r7 packages and move on.
Thoughts on a better resolution?
Actual results
KCS - syslog stopped logging to files under "/var/log" post log rotation
Notes:
rsyslog made this change via https://bugzilla.redhat.com/show_bug.cgi?id=428155 to use %config(noreplace) in 2008