load-keys use of /etc/ndctl/keys during boot.
load-keys uses the contents of /etc/ndctl/keys to recreate the keyring used in unlocking the dimms. But, when used during boot, the contents of /etc/ndctl/keys isn't in the initramfs unless the user explicitly updates the initramfs.
Should ndctl update the initramfs to contain the updated contents of /etc/ndctl/keys during setup-, update-, or remove passphrase? thanks
I would classify this as a feature request for dracut and other initramfs building tools. Namely, if they are pulling in the nvdimm drivers they also need to pull in /etc/ndctl into the initramfs.
Is the requirement accepted by the community? Is there a solution plan?