Description of problem: The elfutils-default-yama-scope package ships a file under /usr marked as a config file. This is against the Fedora Packaging Guidelines[1]: Don't use %config or %config(noreplace) under /usr. /usr is deemed to not contain configuration files in Fedora. [1] https://fedoraproject.org/wiki/Packaging:Guidelines#Configuration_files Version-Release number of selected component (if applicable): elfutils-default-yama-scope-0.170-1.fc27.noarch How reproducible: always Steps to Reproduce: 1. rpm -qc elfutils-default-yama-scope 2. 3. Actual results: /usr/lib/sysctl.d/10-default-yama-scope.conf Expected results: No file under /usr should be listed. Additional info: systemd-sysctl provides a way for the administrator to override files under /usr with files under /etc, as described in sysctl.d(5).
Thanks, I missed this. I suppose this is true for every "config" file placed under %{_sysctldir}? If so, maybe add a note about that to the above Guidelines.
Yes, it is true for _sysctldir, _tmpfilesdir, _udevrulesdir, _unitdir and maybe more. rpmlint emits a warning about it: elfutils-default-yama-scope.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/lib/sysctl.d/10-default-yama-scope.conf A file not in /etc or /var is marked as being a configuration file. Please put your conf files in /etc or /var.
elfutils-0.170-11.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0be914ed2a
elfutils-0.170-11.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0be914ed2a
elfutils-0.170-11.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.