Expand description
Β§Perform consistency checking.
This is an internal module, backing the experimental bootc internals fsck
command.
StructsΒ§
- Check
Finding π - A problem a check found in the system.
- Fsck
Check π - Objects
Verity πState
EnumsΒ§
- Check
Finding πCode - The kind of problem a check found.
- Fsck
FnImpl π
ConstantsΒ§
- MAX_
PRINTED_ πFINDINGS - How many findings of one check are printed; the rest are counted.
- RESOLVCONF_
SUBJECT π - The subject of the resolv.conf checkβs finding.
StaticsΒ§
- CHECK_
FSVERITY π - CHECK_
RESOLVCONF π - FSCK_
CHECKS π
FunctionsΒ§
- check_
fsverity π - check_
fsverity_ πinner - check_
resolvconf π - See https://github.com/bootc-dev/bootc/pull/1096 and https://github.com/containers/bootc/pull/1167 Basically verify that if /usr/etc/resolv.conf exists, it is not a zero-sized file that was probably injected by buildah and that bootc should have removed.
- check_
resolvconf_ πin - The resolv.conf check proper, on the
/usrdirectoryusr. - fsck π
- print_
check_ πresult - Print the result of the check
name, returning whether it passed. - verity_
state_ πof_ all_ objects - verity_
state_ πof_ objects - Check the fsverity state of all regular files in this object directory.
Type AliasesΒ§
- Async
Fsck πFn - FsckFn π
- Fsck
Result π - Like the lints, checks have two levels of errors: the outer
Resultis for unexpected runtime errors, which stop the check; every problem the check finds in the system is collected as a finding, and the check runs to completion. No findings means the check passed.