How to deal with overloaded config files?
#1
Hello


Some system-tools (e.g. udev, eg25-manager, ...) allow you to overload the configuration by placing a changed version below `/etc`. As long as the package maintainer does not adjust the original configuration this works fine. If the config is changed and you are not aware of that, your systems might behave "strange" (it no longer does the things you expect).
What is the best way to keep track of changes in config files where a cloned config was created?

My attempt is reflected in the attached file.
.txt   check_config_diffs.txt (Size: 2.31 KB / Downloads: 126)
  Reply
#2
(10-02-2022, 03:35 AM)jsch Wrote: Hello


Some system-tools (e.g. udev, eg25-manager, ...) allow you to overload the configuration by placing a changed version below `/etc`. As long as the package maintainer does not adjust the original configuration this works fine. If the config is changed and you are not aware of that, your systems might behave "strange" (it no longer does the things you expect).
What is the best way to keep track of changes in config files where a cloned config was created?

My attempt is reflected in the attached file.

Mobian seems to have the ucf package installed by default so I think anytime a changed config file is replaced during an upgrade the old one gets renamed with a certain extension.  After any upgrade I do
```
sudo find / -xdev -name "*.dpkg-*"
sudo find / -xdev -name "*.ucf-*"
```
to find the replacements.  I can do a diff between old and new to see what changed and then do whatever is needed to resolve.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation How to play AMR files? anonymous 4 2,292 09-20-2023, 03:48 PM
Last Post: anonymous
  Block firefix-esr-mobile-config from (re)installing itself grump_fiddle_reinstall 3 1,544 01-07-2023, 09:36 AM
Last Post: dcarvil
  Add contacts with VCF files Bouc 12 16,900 05-20-2022, 07:26 AM
Last Post: kebab
  This Qutebrowser config file made browsing on the PinePhone great again ryo 0 1,219 01-05-2022, 05:49 PM
Last Post: ryo
  no access to webdav files (for some apps) jsch 0 1,247 11-13-2021, 09:46 AM
Last Post: jsch
Question How to Save Read Only Files, Questions on Location lovepine88 8 7,786 06-12-2021, 06:08 PM
Last Post: ryo
  Mobian running config for baresip? lipkowski.be 0 1,544 10-12-2020, 03:05 AM
Last Post: lipkowski.be

Forum Jump:


Users browsing this thread: 1 Guest(s)