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

Docs do not mention SecureBoot blocks zfs kernel module #493

Open
upst-io opened this issue Feb 9, 2024 · 0 comments
Open

Docs do not mention SecureBoot blocks zfs kernel module #493

upst-io opened this issue Feb 9, 2024 · 0 comments

Comments

@upst-io
Copy link

upst-io commented Feb 9, 2024

While following Debian Bookworm Root on ZFS the setup of zfs-dkms fails to load the kernel module after the build step, printing:

insmod /lib/modules/6.1.0-15-amd64/updates/dkms/spl.ko                                                                           
modprobe: ERROR: could not insert 'zfs': Key was rejected by service

A user installing Debian Bookworm Root on ZFS may not notice this, and only come to a halt at the first zpool create which returns with:

The ZFS modules are not loaded.                                                                                                  
Try running '/sbin/modprobe zfs' as root to load them.

Of course, attempting /sbin/modprobe zfs comes back with the same:

modprobe: ERROR: could not insert 'zfs': Key was rejected by service

The solution to this was to change the SecureBoot setting in the BIOS from Deployed Mode to Audit Mode . This should be presented as a warning and instruction at the start of the procedure, to avoid having to reboot and setup the install environment again.

@upst-io upst-io changed the title SecureBoot and zfs kernel module Docs do not mention SecureBoot blocks zfs kernel module Feb 9, 2024
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

1 participant