-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
encrypted dataset: dracut pre-mount hook: cannot open '-': dataset does not exist #11800
Comments
Tried to rename dataset by removing underscore symbol (rpool/ROOT/mntcryptfs) - is not helps Packages versions:
|
zfs-zed was updated to 2.0.3-1, nothing has changed |
Found what I have non-encrypted ZVOL dataset with "mountpoint" '-':
|
What's your |
Command line: root=ZFS=rpool/ROOT/debian ro cgroup_enable=memory swapaccount=1 quiet initrd=\EFI\Debian\initrd.img
|
…pted bootfs Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800
Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800
Hm, yeah. Can you try the second patch off #12108? If you're on 2.0.3, it's identical to replacing # where the key is stored (in a file or loaded via prompt)
KEYLOCATION=$(zfs get -H -o value keylocation "${ENCRYPTIONROOT}")
if ! [ "${ENCRYPTIONROOT}" = "-" ]; then
KEYSTATUS="$(zfs get -H -o value keystatus "${ENCRYPTIONROOT}")" with if ! [ "${ENCRYPTIONROOT}" = "-" ]; then
KEYLOCATION=$(zfs get -H -o value keylocation "${ENCRYPTIONROOT}")
KEYSTATUS="$(zfs get -H -o value keystatus "${ENCRYPTIONROOT}")" in |
Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800
Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800
Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800
Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800 Closes openzfs#12108
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800 Closes openzfs#12108
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#11800 Closes openzfs#12108
I created encrypted dataset on rpool and init isn't promts me to enter password for it while booting
Dataset name:
rpool/ROOT/mnt_cryptfs
its mountpoint is:
/mnt/cryptfs
Boot console output:
Also I tried to replace dracut by initramfs and it also isn't tries to ask me for password but not returns any errors
System information
The text was updated successfully, but these errors were encountered: