Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualisation/incus: secureboot is not working #365950

Open
cmspam opened this issue Dec 17, 2024 · 0 comments
Open

virtualisation/incus: secureboot is not working #365950

cmspam opened this issue Dec 17, 2024 · 0 comments
Labels
0.kind: bug Something is broken

Comments

@cmspam
Copy link
Contributor

cmspam commented Dec 17, 2024

Describe the bug

I noticed that incus is probably using the wrong EDK2/OVMF. Although qemu includes edk2-x86_64-secure-code.fd which probably supports secureboot and seems most likely to be the right choice, incus is using OVMF_CODE.4MB.fd from an incus-ovmf folder in nix store, which is a symlink to files in OVMF-202408.01-fd/FV folder.

I previously troubleshooted a similar problem in opensuse, and it was an issue regarding incorrect links to EDK2/OVMF files, so I suspect there may be a simple way to have it use the correct files for secureboot to function properly when enabled.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Set up incus
  2. run: incus launch images:debian/bookworm debvm -c security.secureboot=true --vm to start a debian vm
  3. run mokutil --sb-state and see that secureboot is not enabled.

Expected behavior

modutil --sb-state should show secureboot as enabled, as it does on other distributions.

Screenshots

Additional context

Metadata

Notify maintainers


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@cmspam cmspam added the 0.kind: bug Something is broken label Dec 17, 2024
@cmspam cmspam changed the title virtualisation/incus: secureboot, despite being enabled, is not actually working in VMs. virtualisation/incus: secureboot is not actually working. Dec 17, 2024
@cmspam cmspam changed the title virtualisation/incus: secureboot is not actually working. virtualisation/incus: secureboot is not actually working (EDK2 issue?) Dec 17, 2024
@cmspam cmspam changed the title virtualisation/incus: secureboot is not actually working (EDK2 issue?) virtualisation/incus: secureboot is not working Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant