You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This kernel message should be in the systemd-journal also.
$ dmesg | grep corrupt
[ 4.989946] systemd-journald[566]: File /var/log/journal/2d2b0efcba8442caaf742548b8b2e6ef/system.journal corrupted or uncleanly shut down, renaming and replacing.
$
Unexpected behaviour you saw
Journal corruption message is not in the journal.
$ sudo journalctl -b | grep corrupt
Jun 13 13:51:31 localhost.localdomain systemd-fsck[683]: 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
$
Steps to reproduce the problem
Boot to login window then force power off (VM or baremetal)
Boot again.
Compare dmesg vs sudo journalctl for 'corrupt' messages.
Reproduces 100% of the time.
The text was updated successfully, but these errors were encountered:
poettering
changed the title
missing kernel messages from sd-journal
when rotating the system journal file due to corruption, log that fact to the journal once we are done with it, not just kmsg
Feb 12, 2021
systemd version the issue has been seen with
Used distribution
Expected behaviour you didn't see
Unexpected behaviour you saw
Steps to reproduce the problem
Reproduces 100% of the time.
The text was updated successfully, but these errors were encountered: