| 18 Dec 2023 |
Julia DeMille | i guess i've found a unicorn of an issue lol | 17:52:48 |
matthewcroughan | yeah, it seems to work on x86 | 17:53:03 |
matthewcroughan | awesome, so it doesn't boot on arm64 | 17:53:09 |
matthewcroughan | systemd-boot, arm64, btrfs | 17:53:22 |
matthewcroughan | Mic92 | Unable to decrypt message: can the disko tests be ran on arm64 too? | 17:54:07 |
matthewcroughan | * Mic92 | Unable to decrypt message: can the disko tests be ran on arm64 too, as part of ci? | 17:54:11 |
matthewcroughan | the tl;dr of the conversation above is that the tests/btrfs-subvolumes.nix hangs at booted-machine on arm64 | 17:55:10 |
Mic92 | Disko works on aarch64 but something is broken with the nixos test | 17:55:38 |
matthewcroughan | ah okay, red herring then | 17:55:47 |
matthewcroughan | Julia DeMille: clone disko and modify the btrfs-subvolumes test to replicate your runtime issue on an x86 machine, aarch64 is bad atm :D | 17:56:14 |
Julia DeMille | wonderful, okay | 17:56:45 |
Julia DeMille | the issue doesn't seem to be recreated on x86_64 | 18:03:31 |
matthewcroughan | oh really? interesting | 18:08:24 |
matthewcroughan | what if you change the system argument of your nixosConfiguration from aarch64-linux to x86_64-linux? | 18:08:47 |
matthewcroughan | then perform the test on that | 18:08:53 |
Julia DeMille | one moment | 18:14:03 |
Julia DeMille | nix build .#nixosConfigurations.callisto.config.system.build.installTest -L succeeds with that changed | 18:16:36 |
matthewcroughan | right, so as far as the disko test suite is concerned, there's nothing wrong with your configuration, or the mounts, etc | 18:22:33 |
matthewcroughan | are you sure it's not some other module causing this state change in the real world, deploy-rs, etc? | 18:23:07 |
Julia DeMille | no idea | 18:30:32 |
lassulus | Did you create the new subvolume manually after declaring it in your config? Because disko doesn't do that (yet) for you | 18:43:52 |
Julia DeMille | if i have to do it manually, that'll do it | 18:46:42 |
matthewcroughan | state! imperative! :O | 18:47:01 |
Julia DeMille | how dare my disko have imperative state? | 18:59:15 |
Julia DeMille | that was it lmao
it works now | 19:00:02 |
Julia DeMille | someone should document that quirk | 19:00:23 |
matthewcroughan | if you're familiar with the Nix/NixOS/declarative paradigm it should be obvious, it's not at all uncommon to have things like this undocumented | 19:04:29 |
matthewcroughan | it kind of goes with the paradigm | 19:04:36 |
matthewcroughan | and I'm sure lassulus intends to fix it too | 19:04:49 |
matthewcroughan | Here's a nix based, non-nixos, ZFS based solution to the same problem https://vpsadminos.org/containers/declarative/ | 19:06:08 |