Bug 1317570 - wrong mode on /var/log/journal after upgrade/reinstall
Summary: wrong mode on /var/log/journal after upgrade/reinstall
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-14 15:10 UTC by Alois Mahdal
Modified: 2016-09-02 23:21 UTC (History)
7 users (show)

Fixed In Version: systemd-222-16.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-02 23:21:10 UTC
Type: Bug


Attachments (Terms of Use)

Description Alois Mahdal 2016-03-14 15:10:19 UTC
Description of problem
======================

After upgrade from f22 to f23, I have noticed that `rpm -V reports bad
Mode for /var/log/journal:

    # rpm -V systemd
    .M.......    /var/log/journal
    #

Running `dnf reinstall systemd` does not seem to fix the problem (I did
not try to restart, though).


Version-Release number of selected component
============================================

systemd-222-14.fc23.x86_64


How reproducible
================

Always


Steps to Reproduce
==================

 1. rpm -V systemd


Actual results
==============

    .M.......    /var/log/journal


Expected results
================

nothing


Additional info
===============

On further inspection:

    # stat /var/log/journal
      File: ‘/var/log/journal’
      Size: 4096      	Blocks: 16         IO Block: 4096   directory
    Device: 805h/2053d	Inode: 1708849     Links: 3
    Access: (2755/drwxr-sr-x)  Uid: (    0/    root)   Gid: (  190/systemd-journal)
    Context: system_u:object_r:var_log_t:s0
    Access: 2016-03-14 15:52:39.301857916 +0100
    Modify: 2016-02-01 15:04:05.000000000 +0100
    Change: 2016-03-14 15:52:39.300857900 +0100
     Birth: -
    # rpm --dump -q systemd | grep ^/var/log/journal
    /var/log/journal 4096 1454335445 0000000000000000000000000000000000000000000000000000000000000000 042755 root systemd-journal 0 0 0 X

the mode "should" be 042755, but is 002755.

(I'm not sure how to interpret 042755 but it seems invalid; I tried to set
it on test dir and chmod rejects it `chmod: invalid mode: ‘042755’`)

Comment 1 Zbigniew Jędrzejewski-Szmek 2016-03-15 01:04:34 UTC
This is another copy of #1048424. That one was fixed in rawhide, but we never pushed the fixed to F23. Doing that now. Will go out in next update.

Comment 2 Mike McCune 2016-03-28 23:38:32 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 3 Fedora Update System 2016-08-18 16:35:24 UTC
systemd-222-16.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f1f7e3722d

Comment 4 Fedora Update System 2016-08-19 00:22:11 UTC
systemd-222-16.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f1f7e3722d

Comment 5 Fedora Update System 2016-09-02 23:21:07 UTC
systemd-222-16.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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