Description of problem: "rpm -Va" reports error on mode for /run/motd Version-Release number of selected component (if applicable): setup-2.14.3-1.fc38.noarch How reproducible: Always Steps to Reproduce: 1. Make a fresh installation 2. run "rpm -Va" Actual results: .M....... g /run/motd Expected results: No output Additional info: Maybe the spec-file "setup.spec" line 102 should contain: Instead of: %ghost /run/motd maybe better: %ghost %verify(not mode) /run/motd
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
Thanks for reporting this problem! Will be fixed in the upcoming version, commit: https://pagure.io/setup/c/9f08091cdba2d21df7e3e33f54c7ef22ec710ef4?branch=master
This fixes it properly: https://pagure.io/setup/c/61561749be416f60cce59baef75004790ba35c0d?branch=master without the %attr(0644,root,root), rpmdb had 0 perms set for it therefore it got reported by rpm -Va. We actually want to check perms if we set them to specific value through tmpfiles.d configuration.
FEDORA-2023-3f4e114f20 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3f4e114f20
FEDORA-2023-3f4e114f20 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
Works for me.