Kirill Bykov
Kirill Bykov
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
Had the same issue and It appeared that ZFS was asking for password at boot. I couldn't see it until I was watching reboot on the physical monitor. I hope...
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@AlexeyGusev Any luck with this issue? Disabling keys loading at startup didn't help, and I am also seeing it working with one mountpoint but not the other.
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@AlexeyGusev Yeah seeing exactly the same behavior. 22.04, upgraded from 20.04 last night.
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@behlendorf Sorry not quite sure, is there a way to get some attention to this issue? Seems like this is some sort of regression, at least in Ubuntu 22.04. Thanks!
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@behlendorf Correct, although I can not guarantee that versions are correct, but I was keeping everything up-to-date. Ubuntu 22.04 that I have now is pretty much out of the box...
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@behlendorf thank you for reopening this issue.
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@behlendorf At this point I also have zfs-dkms installed to address mysql issue but it made no difference.
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@behlendorf @aerusso @rlaager I am currently observing the following behavior: I entered the key on boot using attached keyboard and monitor. Encrypted volumes got mounted on boot and stay mounted....
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@rlaager I pretty much followed there instructions to letter from OpenZFS https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2022.04%20Root%20on%20ZFS.html Regarding Docker, I am seeing only these references to var-lib-docker.mount: kernel: [ 25.711555] zfs-mount-generator: var-lib-docker.mount already exists. Skipping....
Systemd umounts dataset under encrypted root because it thinks the encryption root key is not loaded
@rlaager in 20.04, I believe I had zfs-load-keys disabled. This is probably why this wasn't an issue.