On 12/13/2015 10:50 PM, Andrew Lutomirski wrote:
On Dec 13, 2015 12:38 PM, "Reindl Harald" <h.reindl@xxxxxxxxxxxxx> wrote:
Am 13.12.2015 um 21:22 schrieb Andrew Lutomirski:
For the few cases that can't or won't comply, then having rpm
(optionally?) make the originals available would be fantastic for
system management
how many copies would you like to store in the rpm database and how to
access them in a useful manner
Exactly one, for the current installed version.
honestly:
that all violates the unix principles one tool for one task and there are
tools available for config file management many years, people interested
just need to use them, "etckeeper" is integrated in dnf/yum and makes a
versioned "snapshot" of /etc before and after updates are applied
Since when is there a UNIX principle that, just because a mediocre solution
exists, a better solution shouldn't be added.
In any case, most existing tools really struggle with "what has changed on
my configuration relative to what I'd have if I reinstalled?".
With rpm >= 4.12 its possible to create a plugin which grabs the
original config files from packages as they're unpacked, and see the
.rpmnew/.rpmsave/.rpmorig decisions in "real-time" etc.
So you could stuff the configs into a VCS, perform intelligent merges
and such. In theory at least ;)
- Panu -
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx