letsfindaway / OpenBoard

I'm using this fork to contribute features and fixes to the upstream project. In order to create good pull requests, I'm rebasing my feature branches, squashing and reordering commits, etc. If you fork this repository be aware that my development branches may rewrite history without prior notice.
http://openboard.ch/
GNU General Public License v3.0
9 stars 0 forks source link

Location of config files in Linux packages #138

Open letsfindaway opened 1 year ago

letsfindaway commented 1 year ago

Currently I'm placing configuration files in /etc/openboard, as this was the proper location for years. But now package-owned files should instead go to /usr/lib and /etc should contain the user-modified files only.

Check what Debian and Ubuntu are doing in this respect.

letsfindaway commented 12 months ago

It seems that systemd is the first package actively promoting to provide package installed configuration files in /usr/lib or usr/etc, and to only keep host specific overrides managed by the administrator in /etc. This avoids any conflicts when updating a package and is absolutely necessary when you have an immutable OS in mind, where /usr is mounted readonly.

Applications are however only very slowly adapting this and it may take some time until this becomes really relevant. With an immutable OS, applications are Flatpaks anyway and have their config files within the pack. However in that case these files are so much hidden in the file system that overrides in an easily user accessible location are getting more important.