Bug 59856

Summary: [journalctl] --since=today not working properly
Product: systemd Reporter: gabuzo <bruno.devos>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: minor    
Priority: medium CC: bruno.devos, nathaniel.chen
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=64296
https://bugs.freedesktop.org/show_bug.cgi?id=64293
https://bugs.freedesktop.org/show_bug.cgi?id=64291
Whiteboard:
i915 platform: i915 features:

Description gabuzo 2013-01-25 18:31:51 UTC
When the --since="2013-01-01 03:00:00" or --since=today option is used, the output doesn't end at the last logs, but it circles back to the beginning of the journal.

Steps to reproduce:
$ journalctl --since=today
[PAGEDOWN]
[PAGEDOWN]
[PAGEDOWN]
[PAGEDOWN]
Comment 1 nchen 2013-03-01 19:58:03 UTC
(In reply to comment #0)
> When the --since="2013-01-01 03:00:00" or --since=today option is used, the
> output doesn't end at the last logs, but it circles back to the beginning of
> the journal.

> Steps to reproduce:
> $ journalctl --since=today
> [PAGEDOWN]
> [PAGEDOWN]
> [PAGEDOWN]
> [PAGEDOWN]
Hi,
I followed your steps to reproduce and had no trouble with either method.

Arch Linux, systemd 197:

$ sudo journalctl --since=today
Mar 01 01:45:25 ....info.....
..[PAGEDOWN]..
..[PAGEDOWN]
..[PAGEDOWN]
..[PAGEDOWN TO BOTTOM]..
Mar 01 11:46:27 ....info.....
(END)
Comment 2 Zbigniew Jedrzejewski-Szmek 2013-06-10 14:49:26 UTC
Can you check if http://cgit.freedesktop.org/systemd/systemd/commit/?id=87011c25d9 fixes things for you? Also,
http://cgit.freedesktop.org/systemd/systemd/commit/?id=cbd671772 should fix one the ways that looped journals are produced, but it won't immediately help if you have such journals currently.
Comment 3 gabuzo 2013-06-18 07:34:59 UTC
The error does not appears anymore on my system (systemd version 204).
Comment 4 Zbigniew Jedrzejewski-Szmek 2013-06-18 11:21:26 UTC
(In reply to comment #3)
> The error does not appears anymore on my system (systemd version 204).

Great! I'll close this then. Those patches got exposed in Fedora recently, and do seem to help various people, even if not all. If this happens again, please comment here or file a new bug.

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.