Bug 1037862

Summary: RPM verify fails for /sys with M ("Mode differs")
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: filesystemAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 20CC: ovasik
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-04 13:29:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cristian Ciupitu 2013-12-03 23:50:45 UTC
Description of problem:
It looks like the filesystem package has incorrect permissions for the
/sys directory. While it's true that /sys is just a mount point (for a
kernel virtual filesystem), it wouldn't hurt to set on it the same
permissions the file that's mounted.

Version-Release number of selected component (if applicable):
filesystem-3.2-19.fc20.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. rpm -V -f /sys

Actual results:
.M.......    /sys

Expected results:
(nothing)

Additional info:
After booting and mounting:
# ls -ldZ /sys
dr-xr-xr-x. root root system_u:object_r:sysfs_t:s0     /sys

Comment 1 Cristian Ciupitu 2013-12-03 23:52:34 UTC
For easy reference, the man page for rpm -V says:

    M Mode differs (includes permissions and file type)

Comment 2 Ondrej Vasik 2013-12-04 13:29:13 UTC
Thanks for report -> https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20131202/1153691.html ... Closing RAWHIDE.