FS#66838 - [systemd] journalctl crashes when following files

Attached to Project: Arch Linux
Opened by John Ledbetter (ledbettj) - Saturday, 30 May 2020, 14:56 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 03 June 2020, 06:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

journalctl (or other programs that depend on libsystemd) crashes when attempting to get a file descriptor for a journal file(s).

To reproduce:

find a journal file (in /var/log/journal)

journalctl --file /path/to/journal # this will work
journalctl --file /path/to/journal --follow # this will segfault

The issue is reported upstream here: https://github.com/systemd/systemd/issues/15528

Building systemd-libs with 2b6df46d21abe8a8b7481e420588a9a129699cf9 in the backports list resolves the crash; perhaps we should backport this commit?
This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 03 June 2020, 06:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 245.6-2

Loading...