ndctl icon indicating copy to clipboard operation
ndctl copied to clipboard

load-keys use of /etc/ndctl/keys during boot.

Open jah63 opened this issue 6 years ago • 2 comments

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

jah63 avatar Oct 25 '19 20:10 jah63

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.

djbw avatar Oct 25 '19 22:10 djbw

Is the requirement accepted by the community? Is there a solution plan?

yanglongkanglo avatar Dec 08 '21 08:12 yanglongkanglo