Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-29034

leapp needs to notify users of rpmnew or rpmsave files created during the transaction

    • Major
    • sst_upgrades
    • False
    • Hide

      None

      Show
      None

      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

      1. [root@r7 ~]# echo " "  >> /etc/logrotate.d/syslog
      2. [root@r7 ~]# rpm -Vv rsyslog | grep logrotate.d
        S.5....T.  c /etc/logrotate.d/syslog
      3. [root@r7 ~]# leapp upgrade && reboot
      4.  

      Expected results

      Unsure the best resolution here and keeping other rpmnew/rpmsave files in mind

      1. 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.
      2. 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
      3. 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 

            leapp-notifications leapp-notifications
            rhn-support-jcastran John Castranio
            leapp-notifications leapp-notifications
            RHEL Upgrades QE Team RHEL Upgrades QE Team
            Miriam Portman Miriam Portman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: