<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - journalctl does not show log past an invalid entry"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90074">90074</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>journalctl does not show log past an invalid entry
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zebul666@hotmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>From what I understand, journalctl is supposed to show all the log in
/var/log/journal/<machine-uuid>/system*.journal ?
But I have a file that is reported corrupted by journalctl --verify with an
invalid entry (most likely the last one) caused by a hard-reboot without fsck
# journalctl --verify
[...]
8a8ef0: invalid entry item (13/22 offset: 000000
8a8ef0: invalid object contents: Bad message
File corruption detected at
/var/log/journal/<mymachine-uuid>/<a href="mailto:system@000xxxxxxxxx-xxxxxxxxxxxxxx.journal">system@000xxxxxxxxx-xxxxxxxxxxxxxx.journal</a>~:8a8ef0
(of 16777216 bytes, 54%).
FAIL:
/var/log/journal/<mymachine-uuid>/<a href="mailto:system@000xxxxxxxxxxxx-xxxxxxxxxx.journal">system@000xxxxxxxxxxxx-xxxxxxxxxx.journal</a>~
(Bad message)
[...]
and journalctl does not show log past/after that invalid entry i.e. it shows
log from the first 2 system@*.journal~ files, but no log from the other files,
where the last shown log file is from the one corrupted.
I have to access each file individualy with journalctl --file=<name-of-file>
using systemd 219 on ubuntu 15.04 beta 2
a similar story on archlinux forum
<a href="https://bbs.archlinux.org/viewtopic.php?id=188157">https://bbs.archlinux.org/viewtopic.php?id=188157</a>
p.s: where is the tool to repair corrupted log ?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>