| 5 Apr 2022 |
bobvanderlinden | In reply to @janne.hess:helsinki-systems.de bobvanderlinden: have you seen the case where you were able to type your password but it would forever hang on decryption? Not sure. It hanged waiting for a decrypted device. The device is there, but Udev didn't noticed it | 15:31:16 |
@janne.hess:helsinki-systems.de | In reply to @bobvanderlinden_:matrix.org Not sure. It hanged waiting for a decrypted device. The device is there, but Udev didn't noticed it You need more udev rules ;) I found them in the lvm2 package (yes, the ones for dm-crypt) | 15:31:39 |
bobvanderlinden | In reply to @janne.hess:helsinki-systems.de Update of the day: I now have a disk mounted that is on LVM that is on LUKS Awesome! 🥳🥳🥳 | 15:31:40 |
bobvanderlinden | In reply to @janne.hess:helsinki-systems.de You need more udev rules ;) I found them in the lvm2 package (yes, the ones for dm-crypt) Yes, I had those in there eventually. But there was still something going wrong | 15:32:24 |
bobvanderlinden | Are you now using the ueventd variant? | 15:32:36 |
@janne.hess:helsinki-systems.de | In reply to @bobvanderlinden_:matrix.org Yes, I had those in there eventually. But there was still something going wrong Probably you were missing /run/current-system/bin/systemd-run which the udev rules need… | 15:32:53 |
@janne.hess:helsinki-systems.de | it's horrible stuff | 15:32:56 |
@janne.hess:helsinki-systems.de | In reply to @bobvanderlinden_:matrix.org Are you now using the ueventd variant? The one shipped with lvm2. I don't use generators if that's what you're asking | 15:33:13 |
bobvanderlinden | In reply to @janne.hess:helsinki-systems.de Probably you were missing /run/current-system/bin/systemd-run which the udev rules need… Haha no I had a service that created a symlink for that | 15:33:17 |
bobvanderlinden | Hmm 🤔 I wonder what I was missing then. Interested in your pr! | 15:33:50 |
@janne.hess:helsinki-systems.de | In reply to @bobvanderlinden_:matrix.org Hmm 🤔 I wonder what I was missing then. Interested in your pr! I'll have to clean the udev stuff a bit but I will do that first because I need it | 15:34:08 |
@janne.hess:helsinki-systems.de | It fully works but it's not as clean as I was hoping | 15:34:19 |
@janne.hess:helsinki-systems.de | udev code is now a lot cleaner: https://github.com/NixOS/nixpkgs/pull/167349 | 15:44:16 |
| 6 Apr 2022 |
| gkleen joined the room. | 10:42:15 |
@janne.hess:helsinki-systems.de |  Download ima_db790e8.jpeg | 11:58:50 |
flokli | Uuh | 12:26:36 |
@janne.hess:helsinki-systems.de | now I just need to keep it from trying to unmount /nix… | 13:19:01 |
@elvishjerricco:matrix.org | In reply to @janne.hess:helsinki-systems.de now I just need to keep it from trying to unmount /nix… o_O that sounds like a problem | 15:06:46 |
@hexa:lossy.network | In reply to @janne.hess:helsinki-systems.de sent an image. show us more of your legs! | 17:08:17 |
flokli | In reply to @janne.hess:helsinki-systems.de now I just need to keep it from trying to unmount /nix… Check https://github.com/NixOS/nixpkgs/issues/80038#issuecomment-699660256 | 17:57:38 |
flokli | The text for 0002*patch | 17:57:55 |
Arian | We tried x-initrd. No bueno | 18:28:42 |
@elvishjerricco:matrix.org | flokli: I think that would be unrelated anyway. File systems aren't unmounted by systemctl --no-block isolate initrd-switch-root.target because mount units have IgnoreOnIsolate=yes by default. | 19:16:58 |
@elvishjerricco:matrix.org | If LVM creates a service with RemainAfterExit and an ExecStop that takes down the LVM block device, then the file system would be unmounted when that service gets stopped by the isolate though | 19:18:55 |
Arian | It is stage 2 unmounting it btw. Not stage 1 | 19:22:12 |
@elvishjerricco:matrix.org | oh | 19:32:45 |
@elvishjerricco:matrix.org | during bootup or shutdown? | 19:33:24 |
flokli | I don't think we go back to systemd in initrd during shutdown yet | 19:36:42 |
@elvishjerricco:matrix.org | we do not | 19:37:01 |
@elvishjerricco:matrix.org | I don't even think nixos jumps back to an initramfs for shutdown. | 19:40:32 |