Re: Easier %config management?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 13 Dec 2015 05:58:47 +0100, Christopher wrote:
> For example, I can see which %config files have changed with `rpm -V`, but
> I can't see what the changes actually are unless I do `dnf download
> $myrpm`, extract it, and diff them.

Using this script of mine.  It keeps original unchanged configuration files
from rpm in ~/rpmmerge/** so that you can diff local changes:
        http://git.jankratochvil.net/?p=nethome.git;a=blob;f=bin/rpmmerge
One needs to run the command after OS install and best both before+after each
'yum/dnf upgrade'.


> rpmconf is nice, because it helps me easily compare configuration files
> whose user-changes and maintainer-changes conflict... but that's not quite
> the same thing.

Neither rpmconf nor anything else in Fedora keeps the original configuration
file of the installed NVRA.  Therefore after 'yum/dnf upgrade' you have:
  * old-NVRA modified config file
  * new-NVRA original config file
And there is no way to _automatically_ merge them to get the needed:
  * new-NVRA modified config file
Because for that 3-way merge you need also
  * old-NVRA original config file
which is kept (and merged) by my 'rpmmerge' tool above.


> rpmconf might also need modification to support tracking configuration
> management more fully, rather than just for updates.

It should be primarily a default behavior of the default package management
tools.


Jan
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux