FS#44799 - [systemd] systemd 219-6 + linux 4.0.1-1 = journal failing to append on boot
Attached to Project:
Arch Linux
Opened by brent saner (sanerb) - Friday, 01 May 2015, 08:36 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 30 July 2015, 05:55 GMT
Opened by brent saner (sanerb) - Friday, 01 May 2015, 08:36 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 30 July 2015, 05:55 GMT
|
Details
Description:
in some cases (i can't seem to narrow down which yet), tmpfiles fails to create /run/log/journal. This then causes further failure of journald to fail to both: -append to the volatile journal -append to the persistent journal (if one exists)- no flushes, as the volatile journal is not appended the volatile journal does not exist because it normally is written to /run/log/journal. on boot, the entries of /run/log/journal are copied over to the persistent journal in /var/log/journal/ (if persistence is enabled), from what i understand. /usr/lib/tmpfiles.d/systemd.conf has the following: d /run/log 0755 root root - z /run/log/journal 2755 root systemd-journal - - Z /run/log/journal/%m ~2750 root systemd-journal - - a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x A+ /run/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x I'm not familiar enough with the tmpfiles.d syntax to determine if this is correct or not, but the same install layout was working on 3.19.3-3-ARCH kernel. |
This task depends upon
additionally, this only seems to happen on my desktop, not my laptop (that i can tell.)
systemctl restart systemd-journald
at least gets it logging to /var/log/journal again. however, it still doesn't seem to log to /run/log/journal as the dir is never created.
best
zeltak
Nothing to do with Arch packaging here. Please sort out whether this is a systemd bug or a kernel bug and report it to the appropriate upstream.
https://bugs.freedesktop.org/show_bug.cgi?id=90268