FS#47159 - Improper permissions for systemd-journal-upload

Attached to Project: Arch Linux
Opened by Daniel Speichert (dasp) - Monday, 23 November 2015, 20:27 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 27 September 2017, 16:27 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Configuring systemd-journal-upload with URL and certificates (in /etc/systemd/journal-upload.conf) is not enough. Starting the service results in:

Nov 23 21:15:02 goweb1 systemd-journal-upload[2765]: Cannot create parent directory of state file /var/lib/systemd/journal-upload/state: Permission denied

Additional info:
* package version(s)
systemd: 227-1
* config and/or log files etc.


Steps to reproduce:

* Configure /etc/systemd/journal-upload.conf
* systemctl start systemd-journal-upload
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 27 September 2017, 16:27 GMT
Reason for closing:  No response
Comment by Daniel Speichert (dasp) - Monday, 23 November 2015, 20:31 GMT
A fix would be to run:

* mkdir /var/lib/systemd/journal-upload
* chown systemd-journal-upload /var/lib/systemd/journal-upload

Preferably at package install time.
Comment by Doug Newgard (Scimmia) - Sunday, 24 September 2017, 16:40 GMT
Is this still an issue?

Loading...