[systemd-bugs] [Bug 90815] New: [220] [journalctl] fails to open journal files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 2 05:07:12 PDT 2015


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

            Bug ID: 90815
           Summary: [220] [journalctl] fails to open journal files
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: bluewind at xinu.at
        QA Contact: systemd-bugs at lists.freedesktop.org

My computer crashed and afterwards I was unable to read my journal. journalctl
returns the following error and no log entries:
Error was encountered while opening journal files: No data available

I was also unable to run other journalctl commands like --disk-usage --verify
or --list-boots. I downgraded to 219 and was able to read my journal again and
bisected the issue to 7b300be75e6d5755778dd7da63e7147866f21351 (sd-journal:
return error when we cannot open a file).

journalctl --verify (from 219) tells me that I have some corruption. The 3
files mentioned are timestamped May 1 2015, Jul 14 2014, Jun 2 2015.
444188: invalid object
File corruption detected at
/var/log/journal/889479b0ab6d255dc4b25c5448fb1d0f/system at 00051500f404eedd-1ca9f54ada114353.journal~:444188
(of 8388608 bytes, 53%).
000098: entry number mismatch
File corruption detected at
/var/log/journal/889479b0ab6d255dc4b25c5448fb1d0f/system at 1f4ac564b53b45429a68bed9bd4d66b9-00000000000df3c5-0004fdff4b8778af.journal:000000
(of 8388608 bytes, 0%).
8c4000: invalid object
File corruption detected at
/var/log/journal/889479b0ab6d255dc4b25c5448fb1d0f/system at 00051784997e6452-430d86854332cfc4.journal~:8c4000
(of 16777216 bytes, 54%).

I have not tested if journalctl from 220 actually worked before the crash.

Is this a bug or is this an expected outcome of the mentioned patch?

-- 
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/20150602/6b9682e6/attachment.html>


More information about the systemd-bugs mailing list