Joe, rpmnew files are created ANYTIME the new config differs from the new configuration. It's been a longstanding part of RPM itself in all rpm based distros. This is to avoid changing/breaking working configurations without explicit review. On 6/21/21 4:56 PM, Joe Salmeri wrote:
I just upgraded from 20210602 to 20210620 and after rebooting I ran rpmconfigcheck and it reported the following files:
/etc/postfix/main.cf.rpmnew /etc/postfix/master.cf.rpmnew
comparing /etc/postfix/main.cf vs /etc/postfix/main.cf.rpmnew shows the following differences:
/etc/postfix/main.cf compatibility_level = 2 delay_warning_time = 1h inet_interfaces = localhost inet_protocols = all masquerade_exceptions = root mydestination = $myhostname, localhost.$mydomain, localhost alias_maps = lmdb:/etc/aliases canonical_maps = lmdb:/etc/postfix/canonical relocated_maps = lmdb:/etc/postfix/relocated sender_canonical_maps = lmdb:/etc/postfix/sender_canonical transport_maps = lmdb:/etc/postfix/transport mail_spool_directory = /var/mail message_strip_characters = \0 smtpd_helo_required = no smtpd_sender_restrictions = lmdb:/etc/postfix/access smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination relay_domains = $mydestination lmdb:/etc/postfix/relay virtual_alias_maps = lmdb:/etc/postfix/virtual
/etc/postfix/main.cf.rpmnew compatibility_level = 3.6 delay_warning_time = 0h inet_interfaces = all inet_protocols = ipv4 masquerade_exceptions = mydestination = $myhostname, localhost.$mydomain alias_maps = canonical_maps = relocated_maps = sender_canonical_maps = transport_maps = mail_spool_directory = /var/mail message_strip_characters = smtpd_helo_required = yes smtpd_sender_restrictions = smtpd_recipient_restrictions = relay_domains = $mydestination, lmdb:/etc/postfix/relay #virtual_alias_maps = lmdb:/etc/postfix/virtual
Comparing /etc/postfix/master.cf vs /etc/postfix/master.cf.rpmnewd shows the following differences:
/etc/postfix/master.cf
pickup fifo n - n 60 1 pickup qmgr fifo n - n 300 1 qmgr
/etc/postfix/master.cf.rpmnewd
pickup unix n - n 60 1 pickup qmgr unix n - n 300 1 qmgr
It is my understanding that the *.rpmnew files were created when the existing config files were modified by the admin. I have never modified these files and their dates are from when I first built this system back in 03/2021.
I guess this is a bug/quirk in the upgrade process this time?
Am I safe to just replace the main.cf and master.cf with the *.rpmnew versions?