[systemd-devel] .journal~ files

Cristian Rodríguez crrodriguez at opensuse.org
Wed Dec 19 15:44:34 PST 2012


El mié 19 dic 2012 19:25:13 CLST, Lennart Poettering escribió:
> On Thu, 29.11.12 10:34, Cristian Rodríguez (crrodriguez at opensuse.org) wrote:
>
>>
>> El 29/11/12 07:24, Colin Guthrie escribió:
>>> Hi,
>>>
>>> I have several .journal~ files in my journal dir... without me digging
>>> into the source, can someone explain what these are and if I can safely
>>> remove them (as they are quite large!) like most other ~ files.
>>>
>>> Cheers
>>>
>>> Col
>>>
>>
>> The real problem behind is this:
>>
>> "systemd-journald[186]: File
>> /var/log/journal/fa719ecdd32d41b7ed0ff545000002b6/system.journal
>> corrupted or uncleanly shut down, renaming and replacing."
>>
>> In current versions, the journal files are always corrupt after
>> reboot, I am not sure why though.
>
> That would indicate that the journal is not shut down cleanly before we
> go down.
>
> Lennart
>

Of course, unfortunately it happends after every reboot, no matter what.

It appears to be some kind of race condition, I have 2 boxes with fast 
ssd disks where it happends, and one ARM system which significantly 
slower storage (MMC card) where it happends rarely.



More information about the systemd-devel mailing list