Skip to main content

livepatch_status

Function livepatch_status 

Source
pub fn livepatch_status() -> ActionSpec
Expand description

Show Canonical Livepatch status (sudo canonical-livepatch status --verbose).

Risk: Low / Observer. Read-only; shows the patch state for the running kernel. Requires the canonical-livepatch binary and an Ubuntu Pro subscription. If the binary is not installed, the command exits with “command not found” (exit 127) which is surfaced to the user.