Bug 1048424 - RPM verify fails for /var/log/journal with M ("Mode differs") and G ("Group ownership differs")
Summary: RPM verify fails for /var/log/journal with M ("Mode differs") and G ("Group o...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 20
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1184126
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-04 06:45 UTC by Cristian Ciupitu
Modified: 2015-12-07 04:39 UTC (History)
10 users (show)

Fixed In Version: systemd-227-7.fc24
Clone Of:
Environment:
Last Closed: 2015-12-07 04:39:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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