Page MenuHomeFreeBSD

stand/loader.efi: fix regression with ignoring nvstore
ClosedPublic

Authored by glebius on Sep 9 2023, 4:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 25, 6:36 PM
Unknown Object (File)
Sun, Jul 19, 12:57 PM
Unknown Object (File)
Sat, Jul 18, 5:53 AM
Unknown Object (File)
Jun 17 2026, 8:47 AM
Unknown Object (File)
May 13 2026, 8:25 PM
Unknown Object (File)
May 13 2026, 8:24 PM
Unknown Object (File)
May 13 2026, 8:24 PM
Unknown Object (File)
May 13 2026, 8:22 PM
Subscribers

Details

Summary

We always need to call zfs_attach_nvstore() regardless of whether we
use bootonce key in nvstore or the bootfs property of the pool.

In particular this fixes broken 'nextboot -k'.

Fixes: e3e2681d0ec28d6661fef6da76c9479049e2761c

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53516
Build 50407: arc lint + arc unit

Event Timeline

Please include why this is needed always in the commit message because this is counter intuitive to me and I think contradicts review feedback I got originally.

This revision is now accepted and ready to land.Sep 9 2023, 4:27 AM