Bug 1387222

Summary: journalctl: regular user can't see his messages
Product: Red Hat Enterprise Linux 7 Reporter: Branislav Blaškovič <bblaskov>
Component: systemdAssignee: systemd-maint
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: systemd-maint-list
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-23 11:43:31 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:
Bug Depends On:    
Bug Blocks: 1383699    

Description Branislav Blaškovič 2016-10-20 11:34:03 UTC
Description of problem:
If a regular user logs something, he can't see it in journal.

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


Steps to Reproduce:
1. useradd tester
2. su tester
3. systemd-cat <<< "asdfgh"
4. journalctl | grep "asdfgh"

Actual results:
-- No entries --

Expected results:
Oct 20 07:13:29 qeos-234.lab.eng.rdu2.redhat.com cat[1358]: bububu

Comment 1 Lukáš Nykrýn 2016-10-20 11:42:50 UTC
The is no user journal (privileges?). I am not sure if that is fine.
It needs some additional investigation.

Comment 3 Branislav Blaškovič 2016-11-23 11:43:31 UTC
This behaviour is fine, we just need to make sure in test, that we are testing on non-persistent journal, because it behaves differently with and without persistent journal.