On Sat, 2023-08-12 at 09:01 +0200, Olaf Hering wrote:
Fri, 11 Aug 2023 18:40:44 +0200 Franck Bui <fbui@suse.de>:
- at installation, systemd packages will stop installing (empty/template) main configuration files and instead users will find the templates in drop-in directories (such as /etc/systemd/*.conf.d/50- {local,main,xxx}.conf, exact filename to be defined).
systemd is well documented, systemd.directives(7) is one potential entry point.
Please stop polluting /etc with empty and rpm-owned configuration files.
I've always found systemd's (past?) policy to ship config files with every directive commented out very convenient. All relevant config options and their defaults in a short, concise form, very easy to find the one setting that you want to modify, and very easy to grok some months later where an option had been changed. But having to copy stuff from /usr/lib to /etc has become commonplace, so perhaps storing the default config file as /usr/lib/systemd/xxx.conf or /usr/lib/systemd/xxx.d/00-defaults.conf should be sufficient. Martin