On Sunday 2024-04-07 16:24, Johannes Kastl wrote:
1. How should I handle files in /etc/openbao that should "belong" to the package, but should not be packaged at all (the admin needs to create that herself)? Not having the file in the package means that querying RPM will not yield which package this file belongs to. Of course, the directory name might give a hint, but I would like to have rpm answer that question properly. My most educated guess whould be to %ghost those files. Not sure if that is the right way]tm]. :-)
/etc/passwd is not owned either, nor was it in SUSE 5.3.
2. How to treat example configuration files? Files that are not used and thus can be safely overwritten by package upgrades.
Examples are documentation. Relegate them to /usr/share/doc!