Summary: | journalctl -r _SYSTEMD_UNIT=kdm.service missing entries | ||
---|---|---|---|
Product: | systemd | Reporter: | Jonathan Liu <net147> |
Component: | general | Assignee: | Lennart Poettering <lennart> |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | major | ||
Priority: | medium | CC: | amanduch, jjk, lnykryn, zbyszek |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=86855 https://bugs.freedesktop.org/show_bug.cgi?id=84867 |
||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Test journal file |
Description
Jonathan Liu
2014-09-16 01:31:11 UTC
Created attachment 106714 [details]
Test journal file
Test journal file attached.
To reproduce the bug:
$ tar zxvf system.journal.tar.gz
$ journalctl --file system.journal --verify
PASS: system.journal
$ journalctl --file system.journal _SYSTEMD_UNIT=test.service
-- Logs begin at Tue 2014-09-16 10:44:11 EST, end at Tue 2014-09-16 10:44:15 EST. --
Sep 16 10:44:11 systemd-test test[134]: Message 1 / 5
Sep 16 10:44:11 systemd-test test[134]: Message 2 / 5
Sep 16 10:44:11 systemd-test test[134]: Message 3 / 5
Sep 16 10:44:11 systemd-test test[134]: Message 4 / 5
Sep 16 10:44:15 systemd-test test[134]: Message 5 / 5
$ journalctl --file system.journal -r _SYSTEMD_UNIT=test.service
-- Logs begin at Tue 2014-09-16 10:44:11 EST, end at Tue 2014-09-16 10:44:15 EST. --
Sep 16 10:44:11 systemd-test test[134]: Message 1 / 5
I can confirm this behaviour with given attachement. Running Arch Linux on Intel machine (x86_64), systemd 217. This looks like It's same problem as in https://bugs.freedesktop.org/show_bug.cgi?id=84867 and https://bugs.freedesktop.org/show_bug.cgi?id=86855 for which patch was alredy submitted. However I can't confirm that 'cause I'm unable to reproduce this bug with given journal file. (In reply to Andrej Manduch from comment #3) > This looks like It's same problem as in > https://bugs.freedesktop.org/show_bug.cgi?id=84867 and > https://bugs.freedesktop.org/show_bug.cgi?id=86855 for which patch was > alredy submitted. > > However I can't confirm that 'cause I'm unable to reproduce this bug with > given journal file. The issue still occurs with systemd git master 8b5e2af10830d55b2032e6c79d0cd1f959bb5b7f. $ ./journalctl --file system.journal -r _SYSTEMD_UNIT=test.service -- Logs begin at Tue 2014-09-16 10:44:11 AEST, end at Tue 2014-09-16 10:44:15 AEST. -- Sep 16 10:44:11 systemd-test test[134]: Message 1 / 5 It is fixed after applying patch from http://lists.freedesktop.org/archives/systemd-devel/2014-December/026013.html $ ./journalctl --file system.journal -r _SYSTEMD_UNIT=test.service -- Logs begin at Tue 2014-09-16 10:44:11 AEST, end at Tue 2014-09-16 10:44:15 AEST. -- Sep 16 10:44:15 systemd-test test[134]: Message 5 / 5 Sep 16 10:44:11 systemd-test test[134]: Message 4 / 5 Sep 16 10:44:11 systemd-test test[134]: Message 3 / 5 Sep 16 10:44:11 systemd-test test[134]: Message 2 / 5 Sep 16 10:44:11 systemd-test test[134]: Message 1 / 5 |
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.