| 5 Apr 2022 |
@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 |
@arianvp:matrix.org | 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 |
@arianvp:matrix.org | 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 |
@elvishjerricco:matrix.org | It definitely should; we could do proper ZFS pool exporting for instance | 19:40:51 |
@arianvp:matrix.org | During bootup | 19:41:17 |
@elvishjerricco:matrix.org | that's weird | 19:41:26 |
@arianvp:matrix.org | Yes... | 19:41:37 |
@elvishjerricco:matrix.org | are you also using the systemd handover patch? | 19:41:53 |
@arianvp:matrix.org | Yep | 19:42:01 |
@elvishjerricco:matrix.org | I wonder if the problem goes away if you revert that patch | 19:42:17 |
@elvishjerricco:matrix.org | obviously not a solution | 19:42:21 |
@elvishjerricco:matrix.org | but it would be useful info | 19:42:28 |
@elvishjerricco:matrix.org | Arian: I remember having issues with a SYSTEMD_READY tag getting unset as initrd transitioned into stage 2, which caused dev nodes to disappear. Maybe that's part of your problem? | 19:58:09 |
@elvishjerricco:matrix.org | but that never affected nodes that were mounted in stage 1, I only saw problems when I had a LUKS device setup in stage 1 but not mounted until stage 2 | 19:59:20 |
@elvishjerricco:matrix.org | And this was forever ago on the old PR... | 19:59:41 |