Treat Ubuntu Livepatch as cover for pending kernel reboots

New livepatch_* report fields. When Livepatch is healthy (applied or
nothing-to-apply, checked, supported) and the kernel's support end date is
more than 14 days away, a pending kernel reboot, or a reboot-required file
caused only by linux-* packages, becomes a note instead of the reboot status.
Anything else about Livepatch gives no cover and is noted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
patrickandClaude Sonnet 5.5 committed 2026-10-29 21:35:42 -04:00
1 parent 40bfdc3236
commit 4fa86de11f
5 files changed
+142 -2

No files matched your search

+5
View File
@@ -35,6 +35,11 @@ FIELDS: dict[str, str] = {
"security_count": "int",
"kernel_upgradable": "strlist",
"phased_packages": "strlist",
"livepatch_state": "str",
"livepatch_check_state": "str",
"livepatch_supported": "str",
"livepatch_upgrade_required": "str",
"livepatch_fix_count": "int",
"apt_lists_age_seconds": "int",
"uptime_seconds": "int",
}