| 2 Apr 2022 |
@elvishjerricco:matrix.org | Yea I see no reason to patch lvm for this if that does the trick | 06:03:51 |
bobvanderlinden | Indeed, that was what I was thinking as well 😅 | 06:04:59 |
@janne.hess:helsinki-systems.de | In reply to @elvishjerricco:matrix.org Yea I see no reason to patch lvm for this if that does the trick BindPaths= goes brrrrrr | 09:58:07 |
@elvishjerricco:matrix.org | Janne Heß: Huh, TIL | 09:59:35 |
flokli | ZFS and LVM are both held together by a ton of bash and udev scripts | 13:15:56 |
flokli | I'd love if this would get absorbed more into udev, or systemd generators, but at least with ZFS it doesn't seem likely | 13:17:52 |
@elvishjerricco:matrix.org | ZFS already has a good systemd generator for stage 2, NixOS just doesn't use it. I think there's an LVM generator too, isn't there? | 18:08:10 |
@elvishjerricco:matrix.org | We could potentially use these in stage 1 now too... | 18:08:31 |
@elvishjerricco:matrix.org | Yea:
lvm2-activation-generator - generator for systemd units to activate LVM volumes on boot
| 18:09:35 |
bobvanderlinden | I thought the latest version of lvm2 doesn't have the lvm2 systemd generator anymore. The version before did have a generator. | 20:38:29 |
@elvishjerricco:matrix.org | Oh, yea my system is on an older nixpkgs | 22:36:11 |
@elvishjerricco:matrix.org | Why get rid of it? | 22:36:30 |
bobvanderlinden | It was removed upstream. Wasn't needed anymore. They use a different way to handle lvms in systemd/udevd. I haven't figured out how the new method works yet. | 23:35:28 |
@andreas.schraegle:helsinki-systems.de | In reply to @bobvanderlinden_:matrix.org It was removed upstream. Wasn't needed anymore. They use a different way to handle lvms in systemd/udevd. I haven't figured out how the new method works yet. I think via udev rules and ephemeral systemd units? I know I looked at it at some point, when I updated lvm2 in nixpkgs. | 23:37:41 |
bobvanderlinden | Could be and that would be my best guess as well. I just haven't looked at it in detail yet. I just know the lvm2 part of my branch didn't work yet.
The lack of a generator was surprising, as I did see the generator earlier and added support for adding third-party generators in initrd. Rebasing the branch resulted in the generator not being there. I've been fumbling with this quite a bit. | 23:43:18 |
@andreas.schraegle:helsinki-systems.de | If you want to look into it, this commit dropped the generator and updated a bunch of documentation. | 23:47:53 |
| 3 Apr 2022 |
flokli | Seems https://github.com/NixOS/nixpkgs/issues/167001 did regress containers | 06:54:51 |
flokli | * Seems https://github.com/NixOS/nixpkgs/pull/165453 did regress containers: https://github.com/NixOS/nixpkgs/issues/167001 | 06:55:34 |
flokli | I'm in the bike today, but Janne Heß can you take a look? | 06:56:27 |
bobvanderlinden | In reply to @andreas.schraegle:helsinki-systems.de If you want to look into it, this commit dropped the generator and updated a bunch of documentation. Aaah we probably just have to use the lvm2_dmeventd package. | 07:06:23 |
@janne.hess:helsinki-systems.de | In reply to @flokli:matrix.org I'm in the bike today, but Janne Heß can you take a look? Ah I just saw the message... It's fixed | 13:42:36 |
@elvishjerricco:matrix.org | Words can't describe how happy I am that this has been merged :) I've been messing with this for over two years, trying to find the right way for it to be merge-worthy. And now it's there and it's awesome. | 17:40:06 |
@arianvp:matrix.org | Yay! | 17:59:57 |
@arianvp:matrix.org | I'll be spending ocean sprint on a lot of the follow up tickets I think | 18:00:04 |
@arianvp:matrix.org | Luks, Plymouth, silent boot | 18:00:15 |
@arianvp:matrix.org | But I forgot to bring my non-mac laptop so maybe I'll work on M1 support on Nixos instead lol | 18:00:47 |
flokli | Redacted or Malformed Event | 18:26:07 |
flokli | Redacted or Malformed Event | 18:26:19 |
| * colemickens 👀 for a luks pr to test | 23:18:11 |
| 4 Apr 2022 |
@janne.hess:helsinki-systems.de | ElvishJerricco or bobvanderlinden: didn't one of you try to build the image without calling cpio? Is that still an ongoing effort? | 09:25:44 |