SUSE / linux-security-sensor

Linux security sensor
Other
18 stars 9 forks source link

sdjournal: Correctly seek to current tail (0.7.0) #79

Closed xTeixeira closed 5 months ago

xTeixeira commented 8 months ago

SeekTail() seeks to one position after the current tail. We need to call Previous() after SeekTail() to seek to the last journal entry. Fixes a regression with systemd v254.

See https://github.com/systemd/systemd/pull/26577

djoreilly commented 5 months ago

Also tested with systemd 249 okay.