Bug 59856 - [journalctl] --since=today not working properly
Summary: [journalctl] --since=today not working properly
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 18:31 UTC by gabuzo
Modified: 2013-06-18 11:21 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.