Bug#897266: systemd: journalctl assertion failure

Michael Biebl biebl at debian.org
Sun May 20 20:58:10 BST 2018


Am 20.05.2018 um 08:59 schrieb Marc Lehmann:
> Sorry for the late reply, I got a bit swamped with work.
> 
> On Sat, May 05, 2018 at 12:13:35PM +0200, Michael Biebl <biebl at debian.org> wrote:
>> What does journalctl --verify say about this particular file?
> 
> AFAICR, it complained about file corruption for that file.

We'd need a more detailed error message, but I guess this is moot now.

>> Could you create a /var/log/journal-broken directory and move the broken
>> journal files away into this directory one by one and test which of the
>> files is triggering the abort?
> 
> I could when I originally read your reply, but since I was busy at the
> time and thought I read somewhere that systemd would leave corrupted
> journal files alone, I moved my investigation to later. When I looked for
> it now, it was gone.

Hm, too bad. Not sure what to do about this bug report now that we no
longer have the offending journal file. I'm tempted to close it and
reopen again, in case you run into it again and we can further debug this.

Old journal files are removed when you hit certain limits. The default
retention policy is size based. As long as you have a certain amount of
free space, old journal files are kept. If those limits are exceeded,
the oldest journal files are removed first.

> What I found interesting, though, is that jorunalctl --verify reports file
> corruptiopn for a lot of files in /var/log/journal, although I didn't have
> a crash (all files are newer than 14 days, and the machine has an uptime
> of 40 days and even systemd-journald is running uninterrupted).

That seems very strange. The only case where I personally ran into
journal file corruption is when I had to power cycle the machine.
But you said that journald ran uninterrupted for 40 days.
Would it be possible that this is a hardware or file system issue?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180520/47a2bee3/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list