[systemd-bugs] [Bug 84867] New: journalctl misbehaves with --lines
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 10 02:04:13 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84867
Bug ID: 84867
Summary: journalctl misbehaves with --lines
Product: systemd
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: critical
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: marius.vollmer at redhat.com
QA Contact: systemd-bugs at lists.freedesktop.org
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.)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141010/deb9b60f/attachment.html>
More information about the systemd-bugs
mailing list