FS#37170 - [systemd] Wrong permissions on /run/log/journal

Attached to Project: Arch Linux
Opened by Leonid Isaev (lisaev) - Wednesday, 02 October 2013, 18:57 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 02 October 2013, 19:55 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

With syatemd 208 journald no longer manages permissions of journal files, instead relying on the journal directory to be 2755 root:systemd-journal, which is enforced via tmpfiles. However, in /usr/lib/tmpfiles.d/systemd.conf only /var/log/journal is mentioned, and. /run/log/journal is left out. As a result, people who don't want journal on-disk can't see it...

Adding something like

m /run/log/journal 2755 root systemd-journal - -
m /run/log/journal/%m 2755 root systemd-journal - -

to /usr/lib/tmpfiles.d/systemd.conf should fix the issue.

Thanks,
Leonid.
This task depends upon

Closed by  Dave Reisner (falconindy)
Wednesday, 02 October 2013, 19:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  http://cgit.freedesktop.org/systemd/syst emd/commit/?id=7074fecf6747c9a

Loading...