Bug 1037862 - RPM verify fails for /sys with M ("Mode differs")
Summary: RPM verify fails for /sys with M ("Mode differs")
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: filesystem
Version: 20
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-03 23:50 UTC by Cristian Ciupitu
Modified: 2013-12-04 13:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-04 13:29:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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