Bug 1048424

Summary: RPM verify fails for /var/log/journal with M ("Mode differs") and G ("Group ownership differs")
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: systemdAssignee: systemd-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 20CC: hk.stefansson, johannbg, lnykryn, msekleta, plautrba, seweryn, systemd-maint, tom, vpavlin, zbyszek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-227-7.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 04:39:40 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:
Bug Depends On: 1184126    
Bug Blocks:    

Description Cristian Ciupitu 2014-01-04 06:45:22 UTC
Description of problem:
RPM verify fails for /var/log/journal with M ("Mode differs") and G
("Group ownership differs").

Version-Release number of selected component (if applicable):
systemd-208-9.fc20.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. rpm -V -f /var/log/journal

Actual results:
.M....G..    /var/log/journal

Expected results:
(nothing)

Additional info:
# ls -ld /var/log/journal/
drwxr-sr-x+ 3 root systemd-journal 45 Dec 11 20:36 /var/log/journal/

# getfacl /var/log/journal/
getfacl: Removing leading '/' from absolute path names
# file: var/log/journal/
# owner: root
# group: systemd-journal
# flags: -s-
user::rwx
group::r-x
group:adm:r-x
group:wheel:r-x
mask::r-x
other::r-x
default:user::rwx
default:group::r-x
default:group:adm:r-x
default:group:wheel:r-x
default:mask::r-x
default:other::r-x

Comment 1 Daniel Miranda 2014-06-11 07:59:15 UTC
I observe the same behavior: version in actual filesystem is owned by root:systemd-journal, instead of root:root as deployed by the package.

Comment 2 Tom Hughes 2015-01-19 09:38:47 UTC
The mode is also wrong - the mode in the RPM file list is 040755 but the actual mode on disk is 042755 with the setgid bit set.

Comment 3 Fedora Update System 2015-02-05 20:53:33 UTC
systemd-216-20.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/systemd-216-20.fc21

Comment 4 Fedora Update System 2015-02-07 03:57:40 UTC
Package systemd-216-20.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-216-20.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1793/systemd-216-20.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-02-15 03:05:44 UTC
systemd-216-20.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Zbigniew Jędrzejewski-Szmek 2015-11-11 13:46:53 UTC
This is still present in rawhide...

Comment 7 Zbigniew Jędrzejewski-Szmek 2015-12-07 04:39:40 UTC
Fixed in rawhide, but the fix can be copied to other branches.