How to check what files have been customised in /etc?

Colin Law clanlaw at gmail.com
Sun Dec 13 16:44:56 UTC 2020


On Sun, 13 Dec 2020 at 16:30, Ralf Mardorf via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
> On Sun, 13 Dec 2020 17:16:56 +0100, Ralf Mardorf wrote:
> >Usually we nowadays tend to name drop-in files starting with a high
> >number, to most widely ensure that it's the last used file for
> >configuration. Instead of "foo.conf" it becomes "99-foo.conf". This
> >isn't absolutely secure, IOW after each upgrade we need to check all
> >our drop-in directories against files, that enforce settings that
> >render our installs useless for our field of application.
>
> This assumes that other files are named "01-foo.conf" etc. and no file
> "foo.conf", let alone "goo.conf" does exist.
>
> This issue wouldn't exist, if all settings would be provided by one file
> and no drop-in file would be allowed to override settings.

You would still have exactly the same problem as a vendor would have
to modify the main config file, which would override your amendments.
Plus you would have the original problem when the package supplier
modifies that file that it would overwrite your version.

Colin




More information about the ubuntu-users mailing list