How can I find the original un-changed configuration file to compare with the *.rpmnew file?

Posted by User on Server Fault See other posts from Server Fault or by User
Published on 2012-03-22T17:14:01Z Indexed on 2012/03/22 17:32 UTC
Read the original article Hit count: 238

Filed under:
|
|
|

While upgrading from CentOS 5.7 to 5.8 I've received the following warnings:

warning: /etc/sysconfig/iptables-config created as /etc/sysconfig/iptables-config.rpmnew
warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew
warning: /etc/odbcinst.ini created as /etc/odbcinst.ini.rpmnew

(To know the reason for such files, and what one can do with them read - Why do I have .rpmnew file after an update? )

I want to know what exactly has been change in the default config file by comparing the old default file (the original un-changed configuration file) with the new default file (*.rpmnew). Then, I can apply the changes to my modified file (aka diff merge).

The problem is I don't know where can I find the original un-changed configuration file...

© Server Fault or respective owner

Related posts about configuration

Related posts about rpm