Re: Easier %config management?

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

 



On Sun, Dec 13, 2015 at 5:58 AM, Christopher <ctubbsii-fedora@xxxxxxxxxx> wrote:
> Which components/packages are best candidates for adding a feature which
> would make it easier for users to track changes from the default %config
> %files on the system?
>
> I've found this to be a deficiency, requiring users to do configuration
> management independently of the installer tools on a system, and I think the
> situation could be improved by adding functionality to the installation
> tooling to track these changes better.
>
> 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. Alternatively, I could rename the configuration
> file, and do a `dnf reinstall $myrpm` to replace the original, and then diff
> them. Both of these methods are clunky, wasteful, and not without
> side-effects.

The naive approaches of diff and rebase work for some or even most config files.
But a more sustainable approach is probably to make applications aware
of this paradigm shift ([partial] configs in multiple locations), and
allow them to look in multiple locations and also allow overrides with
partial configurations like we know it from systemd [0].

This could potentially even solve the issue which we - oVirt Node -
and also Atomic see with /etc/passwd - where the naive approach does
not work.

- fabian

--
[0] http://www.freedesktop.org/software/systemd/man/systemd.unit.html
--
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