How to deal with overloaded config files? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: How to deal with overloaded config files? (/showthread.php?tid=17421) |
How to deal with overloaded config files? - jsch - 10-02-2022 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. check_config_diffs.txt (Size: 2.31 KB / Downloads: 193) RE: How to deal with overloaded config files? - treebeard - 10-02-2022 (10-02-2022, 03:35 AM)jsch Wrote: Hello 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. |