Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2160954 - rpm -Va reports error on /run/motd
Summary: rpm -Va reports error on /run/motd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Martin Osvald 🛹
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-14 18:11 UTC by Christoph Karl
Modified: 2023-07-30 11:11 UTC (History)
4 users (show)

Fixed In Version: setup-2.14.4-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-26 13:42:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christoph Karl 2023-01-14 18:11:10 UTC
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

Comment 1 Ben Cotton 2023-02-07 15:05:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 2 Martin Osvald 🛹 2023-04-04 06:26:56 UTC
Thanks for reporting this problem!

Will be fixed in the upcoming version, commit:

https://pagure.io/setup/c/9f08091cdba2d21df7e3e33f54c7ef22ec710ef4?branch=master

Comment 3 Martin Osvald 🛹 2023-07-26 08:54:16 UTC
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.

Comment 4 Fedora Update System 2023-07-26 11:08:40 UTC
FEDORA-2023-3f4e114f20 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3f4e114f20

Comment 5 Fedora Update System 2023-07-26 13:42:04 UTC
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.

Comment 6 Christoph Karl 2023-07-30 11:11:34 UTC
Works for me.


Note You need to log in before you can comment on or make changes to this bug.