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

Should /var/lib/sbctl be used in place of /etc/secureboot ? #416

Open
matdibu opened this issue Dec 14, 2024 · 5 comments
Open

Should /var/lib/sbctl be used in place of /etc/secureboot ? #416

matdibu opened this issue Dec 14, 2024 · 5 comments

Comments

@matdibu
Copy link

matdibu commented Dec 14, 2024

I got this warning while using sbctl on a system with lanzaboote

old configuration detected. Please use `sbctl setup --migrate`

and while trying to migrate, I borked it

I found this while trying to understand what it means:

@RaitoBezarius
Copy link
Member

Yes, since the newest version of sbctl, we should release a new version of lanzaboote that makes use of the newer directory and migrate the users.

@matdibu
Copy link
Author

matdibu commented Dec 14, 2024

so simply setting

boot.lanzaboote.pkiBundle = "/var/lib/sbctl";

isn't enough?

@matdibu
Copy link
Author

matdibu commented Dec 14, 2024

I messed up some unrelated things while changing the config, but in the end it seems to work fine with that pkiBundle path

@matdibu
Copy link
Author

matdibu commented Dec 16, 2024

as a note: I'm pretty sure the migration failed because I am using impermanence, so /etc/secureboot was a mount, so it couldn't unlink it

@Arbel-arad
Copy link

so simply setting

boot.lanzaboote.pkiBundle = "/var/lib/sbctl";

isn't enough?

this worked for me with a normal filesystem.
migration worked fine as well.

after looking at it, maybe backing up the pkiBundle is a good idea......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants