FS#39181 - [systemd] volatile journal has wrong permissions
Attached to Project:
Arch Linux
Opened by Daniil Bolsun (facecool) - Wednesday, 05 March 2014, 07:31 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 April 2014, 16:50 GMT
Opened by Daniil Bolsun (facecool) - Wednesday, 05 March 2014, 07:31 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 April 2014, 16:50 GMT
|
Details
Description:
When systemd journal storage set to 'volatile', file /run/log/journal/<machine-id>/system.journal has permissions 0640 and owner root:root. Which makes impossible for non-root user (even in systemd-journal group) to access logs. Additional info: * package version(s): systemd 210-2 Steps to reproduce: Set Storage=volatile in /etc/systemd/journald.conf and reboot to apply settings. |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 05 April 2014, 16:50 GMT
Reason for closing: Upstream
Additional comments about closing: Patches welcome uptream to support an 'M' option which would be a recursive version of 'm'.
Saturday, 05 April 2014, 16:50 GMT
Reason for closing: Upstream
Additional comments about closing: Patches welcome uptream to support an 'M' option which would be a recursive version of 'm'.
m /run/log/journal/%m/system.journal 0644 root systemd-journal - -
Upstream will need to fix the fact that the volatile journal is created before systemd-tmpfiles-setup is run, so the sticky bit of course isn't honored.