Software Management call for RFEs

Ralf Corsepius rc040203 at freenet.de
Fri May 24 05:08:38 UTC 2013


On 05/23/2013 06:05 PM, Simone Caronni wrote:
> On 23 May 2013 17:38, James Antill <james at fedoraproject.org
> <mailto:james at fedoraproject.org>> wrote:
>
>     On Thu, 2013-05-23 at 13:52 +0200, Simone Caronni wrote:
>      > mv /etc/nagios/nagios.cfg /etc/nagios/nagios.cfg.mine
>      > yum reinstall nagios --onlyfile /etc/nagios/nagios.cfg
>
>       How is this functionally different from "yum reinstall nagios" ?
>       Yes, yum/rpm will currently replace files with identical copies but
>     functionally the extra copies are "just wasting reinstall time".
>
>
> By doing "yum reinstall nagios" I don't have the the default config
> files (i.e. nagios.cfg.rpmnew is not created). This happens only on
> upgrades.

yum remove <pkg>
yum install <pkg>

should do what you want (backups of modified config files).

Ralf




More information about the devel mailing list