Skip to content

pve-klp 0.1.4

Choose a tag to compare

@github-actions github-actions released this 23 Nov 22:32
· 29 commits to main since this release

Fourth round from the real-host test, which also ran a guest VM under load
during 10 revert/apply cycles, a patched module object that is loaded only
after the boot reload, and anti-rollback across kernel releases and wrong
build-ids.

Upgrade note

Nodes that ran pve-klp setup on 0.1.3 or earlier may be stuck in a
half-configured state ("iU") after a non-interactive upgrade to 0.1.3. Run
once:

dpkg --force-confold --configure pve-klp

and then upgrade to 0.1.4. From 0.1.4 on, upgrades never prompt.

Fixed

  • Upgrades prompted (and failed without a TTY) on every node that ran
    setup, because /etc/pve-klp/pve-klp.toml was a dpkg conffile that
    setup edits. The package now ships the template as
    /usr/share/pve-klp/pve-klp.toml and creates the config only when it is
    missing; existing configs are kept. CI installs 0.1.3, runs setup and
    upgrades without a TTY on every change.
  • Running setup again without --ring reset the ring to stable. Options
    that are not given now keep the configured value; setup prints each
    value and whether it changed. --repository is only required the first
    time.

Changed

  • check and mok enroll recognize a pending MOK enrollment ("confirm in
    MokManager on the next boot") instead of saying "not enrolled".
  • status only asks for a reboot when a transition could neither complete
    nor be reversed. After a cleanly backed-out apply it suggests running
    pve-klp apply again; the exit code stays 20.
  • sign-manifest.sh runs the new pve-klp-tool check-manifest, which
    compares the manifest with the module, the resolved catalog and
    qemu.ok (kernel, module hash, build-id) and refuses to sign an edited
    manifest.

Install

wget https://github.com/prepaid-host/pve-klp/releases/download/v0.1.4/pve-klp_amd64.deb
apt install ./pve-klp_amd64.deb
pve-klp setup --repository <your repository> --key <manifest key>

Verify

sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify pve-klp_amd64.deb --repo prepaid-host/pve-klp