Red Hat Bugzilla – Bug 1262743
user systemd-journal-upload should be in systemd-journal group
Last modified: 2015-09-23 00:08:21 EDT
Description of problem:
As specified in systemd-journal-upload.service unit file, systemd-journal-upload command is run in user systemd-journal-upload. The default journal files can be read by users who belogs to wheel, adm, or systemd-journal. So, to success systemd-journal-upload.service unit, the user systemd-journal-upload should belong one of them. I think that the group systemd-journal is proper one, in this case.
Version-Release number of selected component (if applicable):
Always by stepping as follows.
Steps to Reproduce:
1. Install systemd-journal-gateway.
2. Specify the server in journal-upload.conf
3. systemd start systemd-journal-upload.service
The service fail due to the daemon cannot read the journal files.
The service can read journal files and update it to a remote server.
I confirm that the service can success after I run the following command:
usermod -a -G systemd-journal systemd-journal-upload
Created attachment 1073134 [details]
patch for systemd.spec (rawhide)
I expect the patch can be also applied for f21-23.
systemd-222-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16165
systemd-222-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update systemd'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16165
Thaks! I will test them.
I confirm the problem is fixed. Thank you.
systemd-222-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.