systemd-215-14.fc21.x86_64 With this set of journal files files.cockpit-project.org/files/journal-bug.tar.xz I can see this behavior: $ journalctl -D ./journal.bug/ _SYSTEMD_UNIT=accounts-daemon.service | tail -5 Oct 10 09:44:07 f21.cockpit.lan accounts-daemon[1178]: started daemon version 0.6.38 Oct 10 09:57:47 f21.cockpit.lan accounts-daemon[1178]: request by system-bus-name::1.12 [/usr/libexec/cockpitd pid:1169 uid:1000]: delete user 'junior' (1001) Oct 10 09:57:47 f21.cockpit.lan userdel[4245]: delete user 'junior' Oct 10 09:57:47 f21.cockpit.lan userdel[4245]: removed group 'junior' owned by 'junior' Oct 10 09:57:47 f21.cockpit.lan userdel[4245]: removed shadow group 'junior' owned by 'junior' $ journalctl -D ./journal.bug/ _SYSTEMD_UNIT=accounts-daemon.service --lines=100 | tail -5 Oct 08 10:35:52 f21.cockpit.lan accounts-daemon[1255]: started daemon version 0.6.38 -- Reboot -- Oct 08 14:08:00 f21.cockpit.lan accounts-daemon[1937]: started daemon version 0.6.38 -- Reboot -- Oct 10 09:44:07 f21.cockpit.lan accounts-daemon[1178]: started daemon version 0.6.38 That is, when using --lines, journalctl omits some lines at the end. Erroneously omitting journal lines is critical, I think. (The journal files might be corruped since they come from a machine that is being mistreated quite badly, but journalctl doesn't give any sign of that.)
Can reproduce here.
fix for this is alredy in mailing list and it's waiting to be merged. https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg25682.html
"Although the basic idea of binary search is comparatively straightforward, the details can be surprisingly tricky…" — Donald Knuth. :-) Thanks for the fix!
Fix applied!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.