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 1101226 - journalctl: Access Control, user in adm group cannot see root logs
Summary: journalctl: Access Control, user in adm group cannot see root logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: systemd-maint
QA Contact: Robin Hack
URL:
Whiteboard:
: 1211499 (view as bug list)
Depends On:
Blocks: 1101267 1143927
TreeView+ depends on / blocked
 
Reported: 2014-05-26 12:24 UTC by Petr Sklenar
Modified: 2019-09-12 07:53 UTC (History)
7 users (show)

Fixed In Version: systemd-219-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 14:56:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2092 0 normal SHIPPED_LIVE systemd bug fix and enhancement update 2015-11-19 12:13:57 UTC

Description Petr Sklenar 2014-05-26 12:24:14 UTC
Description of problem:
user in adm group cannot see root log file

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

How reproducible:
always

Steps to Reproduce:
[root@pes-guest-67 ~]# usermod -a -G adm petr
[root@pes-guest-67 ~]# su - petr
Last login: Mon May 26 14:10:45 CEST 2014 on pts/0
[petr@pes-guest-67 ~]$ journalctl 
No journal files were found.

Actual results:
petr cannot see all the logs

Expected results:
petr can see all the logs

Additional info:

Comment 4 Michal Sekletar 2014-06-27 13:30:29 UTC
We have to change journald so it will adjust default group for directory to systemd-journal and sets ACLs on directory.

Comment 6 Michal Sekletar 2015-04-17 08:44:47 UTC
*** Bug 1211499 has been marked as a duplicate of this bug. ***

Comment 8 Marius Vollmer 2015-04-17 12:53:26 UTC
(In reply to Michal Sekletar from comment #4)
> We have to change journald so it will adjust default group for directory to
> systemd-journal and sets ACLs on directory.

Will that also give "wheel" access, or only "adm"?

Comment 9 Lukáš Nykrýn 2015-04-17 14:48:51 UTC
New tmpfiles snippet has

a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
A+ /run/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
A+ /var/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x

Comment 10 Lukáš Nykrýn 2015-04-21 13:50:59 UTC
This should be now fixed with the rebase.

Comment 14 errata-xmlrpc 2015-11-19 14:56:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2092.html


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