Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHKBOOT ALERT! on /boot/ disk out of space #30

Open
jhanger-dev opened this issue Mar 9, 2022 · 0 comments
Open

CHKBOOT ALERT! on /boot/ disk out of space #30

jhanger-dev opened this issue Mar 9, 2022 · 0 comments

Comments

@jhanger-dev
Copy link

jhanger-dev commented Mar 9, 2022

System:

Dell Precision 5550 / BIOS 1.7.1 03/29/2021
Ubuntu 20.04 LTS
chkboot 1.3-5 - dpkg

Issue Description:

I recently encountered console alerts[1];
Turns out I hadn't cleaned up my deprecated kernel packages.
As a result my /boot/ partition ran out of space.
This caused chkboot and chkboot-check to not be able to update the hash files.
This resulted in the Alert in [1] and running chkboot did not alert to there being an inability to write to the files so It wasn't until a few days of getting the nagging alert every time I opened a new terminal or logged in from a terminal that I figured out the issue.

There should be some sort of alarm going as when it writes to the disk certainly there are errors generated from the OS level that appear to be ignored.
Perhaps here is the appropriate location:

done > $BOOTFILES

Or maybe a new code block above that checks for disk space prior to writing hashes.

This isn't some show stopper just more of a nuisance that can be more readily fixed on the occurance as from time to time after many updates i've seen /boot run out of space.

Thanks for reviewing this issue.

[1] - Alert Thrown:

CHKBOOT ALERT!

Changes have been detected in your boot files!
The following list of files contained in have changed since the last time this script was run (filename sha512):
List of changed files on Wed 09 Mar 2022 06:00:19 AM MST:

296,297c296,297
< ./efi/EFI/dell/logs/diags_previous.xml fc2d5e683144a99f1ab316a1b6518ba656ec63874cc91eaefb29f5edc23dcb7a55a7c90b155912b950daf793134d1b5f7f400b4d62b62a52ca772c260ca64bfa
< ./efi/EFI/dell/logs/diags_current.xml 408c16d3aaa89d69e09ac2d102e60f7c3e25dcfaecf26a4cbab32cc3d01ba0f56364d3a1b81c63f0501598fec71fcb78611933e134db8b43c647b33dddf60429
---
> ./efi/EFI/dell/logs/diags_previous.xml 408c16d3aaa89d69e09ac2d102e60f7c3e25dcfaecf26a4cbab32cc3d01ba0f56364d3a1b81c63f0501598fec71fcb78611933e134db8b43c647b33dddf60429
> ./efi/EFI/dell/logs/diags_current.xml 00a4096dc3ab19b1704ae1accfa23299981c41880ee8333e8a4037b417b950490a5d4e226ea773b881e41fde8bb262ea5bd6589e3ecbd7ce952357ea20c279ce

This notification will continue to appear until you either run "chkboot" again as root or restart your computer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant