FS#38788 - [systemd] journalctl does not work as non root user
Attached to Project:
Arch Linux
Opened by Nicola (drakkan) - Tuesday, 04 February 2014, 13:09 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 08 February 2014, 19:11 GMT
Opened by Nicola (drakkan) - Tuesday, 04 February 2014, 13:09 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 08 February 2014, 19:11 GMT
|
Details
Description:
after setting Storage=volatile in /etc/systemd/journald.conf journatcl does not work anymore as normal user, this is a permission issue: ls -la /run/log/journal/7d6bbc328aa14a9da93dc60ba990adf6/system.journal -rw-r----- 1 root root 4120576 4 feb 13.59 /run/log/journal/7d6bbc328aa14a9da93dc60ba990adf6/system.journal only root can read system.journal chmod 644 on system.journal make normal user able to use journalctl again Additional info: systemd 208-10 Steps to reproduce: set Storage=volatile in /etc/systemd/journald.conf run as non root user: journalctl -f you'll get: No journal files were found. if you run the same command as root it works as expected |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 08 February 2014, 19:11 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#37170
Saturday, 08 February 2014, 19:11 GMT
Reason for closing: Duplicate
Additional comments about closing:
If you want unprivileged access, you need to use persistent storage.
There's also an offhand reference to this in journald.conf(5) in the description of the SplitMode option.
https://github.com/systemd/systemd/issues/9
/usr/lib/tmpfiles.d/systemd.conf applies this group permission. Can you confirm that it's actually there?
The github repo is just a mirror, you likely aren't going to get much of a response there. Discussion takes place on systemd-devel@lists.freedesktop.org.