FS#37208 - [systemd] "Storage=volatile" option is not correctly handled to behave as wanted.

Attached to Project: Arch Linux
Opened by nil0x42 (nil0x42) - Sunday, 06 October 2013, 15:41 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 06 October 2013, 16:02 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The current version of systemd (208-1) does not handles anymore journal files permissions in profit of tmpfiles.
The /usr/lib/tmpfiles.d/systemd.conf file only owns the standard journal path with the following lines:
m /var/log/journal 2755 root systemd-journal - -
m /var/log/journal/%m 2755 root systemd-journal - -

De facto, /run/log/journal/ handling is omitted, when the journald.conf 'Storage=volatile' use it instead of /var/log.


Conclusion:

A systemd installation with Storage=volatile is bugged, because users belonging to 'systemd-journal' group have
not access to the journal.


Fix:

Adding those lines to the end of /usr/lib/tmpfiles.d/systemd.conf will fix the problem.
m /run/log/journal 2755 root systemd-journal - -
m /run/log/journal/%m 2755 root systemd-journal - -
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 06 October 2013, 16:02 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#37170 

Loading...