RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2178831 - /var/log/journal owner does not match systemd packaging
Summary: /var/log/journal owner does not match systemd packaging
Keywords:
Status: CLOSED DUPLICATE of bug 2165316
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: systemd
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: systemd-maint
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-15 19:55 UTC by Bruno Gillet
Modified: 2023-03-16 07:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-16 07:34:06 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-152018 0 None None None 2023-03-16 07:37:24 UTC

Description Bruno Gillet 2023-03-15 19:55:04 UTC
Description of problem:

In the RPM we have : 
$ rpm -qvl systemd-250-12.el9_1.1.x86_64 | grep /var/log/j
drwxr-xr-x    2 root     root                        0 Nov  7 14:45 /var/log/journal

But on the system we have : 
$ ls -ld /var/log/journal
drwxr-sr-x+ 3 root systemd-journal 4096 Mar  7 13:33 /var/log/journal

So in rpm -qV this returns a change : 
$ rpm -qV systemd
.M....G..  g /var/log/journal

That causes trouble for monitoring and security compliance checks.

Version-Release number of selected component (if applicable):

systemd-250-12.el9_1.1.x86_64

How reproducible:

Install or check installed package.

Steps to Reproduce:
1.rpm -qvl systemd-250-12.el9_1.1.x86_64 | grep /var/log/j
2.ls -ld /var/log/journal
3.rpm -qV systemd

Actual results:

Shows non compliance between package and installed files that could generate a false positive issue.

Expected results:

Should not show non compliance between package and installed file.


Additional info:

Comment 1 David Tardon 2023-03-16 07:34:06 UTC

*** This bug has been marked as a duplicate of bug 2165316 ***


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