2 ms·
This script is really hard to use. There are two invocations: # chkboot Checks for changes (once) then updates the file list. If you run chkboot again, it
by aftbit 11y ago
This script is really hard to use. There are two invocations:
# chkboot
Checks for changes (once) then updates the file list. If you run chkboot again, it will erase the changes list!
$ chkboot-check
This basically just runs `cat` on a file made by chkboot.
Also, there's a long-standing bug where `chkboot -u` just doesn't work, making the mkinitcpio hook useless.
A better interface would be:
# chkboot-update
Updates hashes.
# chkboot-verify
Checks hashes and writes any failures to syslog/stderr/logfile. Return code tells you if it was successful.
Since you need root permissions to access many of the files in /boot, you really can't avoid running chkboot-verify as root.