<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Jun 7, 2018 at 4:21 AM Chris Murphy <<a href="mailto:lists@colorremedies.com">lists@colorremedies.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[chris@f28h ~]$ sudo journalctl --verify<br>
15f1c8: Data object references invalid entry at 4855f8<br>
File corruption detected at<br>
/run/log/journal/bbe68372db9f4c589a1f67f008e70864/system.journal:4854c0<br>
(of 8388608 bytes, 56%).<br>
FAIL: /run/log/journal/bbe68372db9f4c589a1f67f008e70864/system.journal<br>
(Bad message)<br>
PASS: /var/log/journal/bbe68372db9f4c589a1f67f008e70864/system.journal<br>
PASS: /var/log/journal/bbe68372db9f4c589a1f67f008e70864/user-1000.journal<br>
[chris@f28h ~]$ ls -l /run/log/journal/bbe68372db9f4c589a1f67f008e70864/<br>
total 8192<br>
-rw-r-----+ 1 root systemd-journal 8388608 Jun  6 14:28 system.journal<br>
[chris@f28h ~]$<br>
<br>
systemd-238-8.git0e0aa59.fc28.x86_64<br>
<br>
It doesn't seem to matter whether this is on volatile or persistent<br>
media, the very first journal file has corruption, subsequent ones<br>
don't. I'm not sure how to troubleshoot this.<br></blockquote><div><br></div><div>More precisely, it's the *active* journal file, the one that journald is currently writing to. If it has been just a few seconds since the last write, you can probably safely assume that it's not fully flushed to disk yet. (This can apply to user-* journals as well, but they're relatively low traffic and so less likely to be online at the moment.)</div><div><br></div><div>I would use `journalctl --rotate` to make journald start a new file, so that the old one is properly taken offline.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>