Description of problem: journal expect users to be part of certain group (systemd-journal) in order to allow them to read the logs, that's ok but the group should be configurable Version-Release number of selected component (if applicable): 204 How reproducible: run journalctl as regular user Steps to Reproduce: 1. $ journalctl Unprivileged users cannot access messages, unless persistent log storage is enabled. Users in the 'systemd-journal' group may always access messages. 2. 3. Actual results: Expected results: Additional info: the traditional group to allow access to logs is adm, in some places a custom group (maybe is an ldap/nis group) is created for that propose. it should not be hardcoded to systemd-journal
It is configurable now. Since http://cgit.freedesktop.org/systemd/systemd/commit/?id=4608af4 (before systemd-208 which is in Fedora 20), systemd-journald will not touch the directory ownership anymore. You can override the group by adding an appropriate override for tmpfiles.d/systemd.conf, where this ownership is set.
that's ok but i want to be able to configure the group which is allowed to run journalctl always, not only when i'm using persistent storage. i want to have the same functionality when logs are ephemeral. thanks
As of http://cgit.freedesktop.org/systemd/systemd/commit/?id=a606871, permissions are set for both /var/log/journald/... and /run/log/journal/... in the same way. You can also override them in the same way, per comment #1. I'll include this change in the next update.
systemd-208-18.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/systemd-208-18.fc20
Package systemd-208-18.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-208-18.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7512/systemd-208-18.fc20 then log in and leave karma (feedback).
Package systemd-208-19.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-208-19.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7512/systemd-208-19.fc20 then log in and leave karma (feedback).
The update has long been in stable, closing this bug.