Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printablefalse

Resolve updated configuration files

As packages are upgraded, related configuration files need to be manually merged with the new configuration files as appropriate. Files to search for are *.rpmnew (the new configuration file), *.rpmsave (the original configuration file) and *.rpmorig (the original configuration file, one not owned by a package).

Locate affected configuration files

First, find and display the locations of affected configuration files using the following search:

...

It is a good idea to compare the current version of the configuration file with the new version installed by the updated package and merge back changes into the current version of the configuration file. However, the current versions will contain customizations specific to FreePBX DIstro which should be preserved. If uncertain, leave the original configuration lines as is.

Install a file comparison tool

The imediff2 program is helpful in merging old and new config files together. The following commands download this program and place it in /usr/local/bin.

...

Code Block
chmod +x /usr/local/bin/confmerge

Compare old and new configuration files

The following command will use imediff2 compare the existing configuration file /etc/rsyslog.conf with the new file /etc/rsyslog.conf.rpmnew and merge any desired changes back into the current version /etc/rsyslog.

...

Any changed configuration files will not take effect until the related program is restarted.

Test reboot

A system reboot at this point is a good idea to ensure that all systems changes take effect and to test that a reboot brings up Asterisk as expected.

...