[systemd-bugs] [Bug 63672] journalctl skips first entry after reboot in certain scenario

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 19 04:19:41 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=63672

--- Comment #4 from Marius Vollmer <marius.vollmer at redhat.com> ---
(In reply to comment #3)

> > Anyway, I'll commit your fix for now, given that O(log(n)) isn't so much
> > worse than O(1), and I want to get a new release out, but I will leave this
> > bug open, to look into this, add a comment about this and add a TODO item,
> > so I really won't forget...
> 
> Please consider whether this breaks the overlapping files scenario...  I'll
> try to make another patch as outlined above.

Here is a small test program for this bug.  It also tests interleaved files,
and they are broken without the patch and fixed with it.  It is, of course,
exactly as you say: setting current_offset to zero just triggers a search for
the right location, it doesn't rewind the file back to its start.  Sorry for
getting confused there a bit.

-- 
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/20130419/cf9ef4e6/attachment.html>


More information about the systemd-bugs mailing list