rpmnew files created after installing 20210620
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?
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?
Bruce, "rpmnew files are created ANYTIME the new config differs from the new configuration." I'm confused by your statement....did you make a typo in it and possibly mean anytime the new config differs from the current config (which would imply the admin changed the current config). It was my understanding that whenever a new config is released if I have not changed the existing default config then it would just replace the existing config since I was using the default. Otherwise, it would seem that pretty much ever upgrade would create LOTS Of rpmnew files and I only see them created a few times. This is the first time I have ever seen them for postfix. Could you please elaborate further? Thanks. P.S. Sorry for the double post before the server timed out during the message post indicating it didn't work. I actually thought it had gone down again.
participants (2)
-
Bruce Ferrell
-
Joe Salmeri