You are not logged in.

#1 2014-01-02 01:01:32

a_neutrino
Member
From: Montreal, Canada
Registered: 2010-03-14
Posts: 50
Website

How to manage journald corrupt files

Hi,

From "man 8 systemd-journald.service":

If the daemon is stopped uncleanly, or if the files are found to be corrupted, they are renamed using the ".journal~" suffix, and systemd-journald starts writing to a new file.

Should I do something special with those ".journal~" files? Do I have to clean them up manually? Is it really possible to ever have "journalctl --verify" exit 0?

Thanks.

Offline

#2 2014-01-02 01:25:18

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How to manage journald corrupt files

They should be fine to just leave there.  From time to time, I go through and delete them, as this non-zero exit status makes me feel kind of uneasy in an OCD kind of way.  But they shouldn't hurt anything.  I think that the journalctl command can still go through them and display the contents.

Offline

Board footer

Powered by FluxBB