!oNSIfazDqEcwhcOjSL:matrix.org

disko

366 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

Load older messages


SenderMessageTime
18 Dec 2023
@jdemille:tchncs.deJulia DeMillei guess i've found a unicorn of an issue lol17:52:48
@matthewcroughan:defenestrate.itmatthewcroughanyeah, it seems to work on x86 17:53:03
@matthewcroughan:defenestrate.itmatthewcroughanawesome, so it doesn't boot on arm64 17:53:09
@matthewcroughan:defenestrate.itmatthewcroughansystemd-boot, arm64, btrfs 17:53:22
@matthewcroughan:defenestrate.itmatthewcroughan Mic92 | Unable to decrypt message: can the disko tests be ran on arm64 too? 17:54:07
@matthewcroughan:defenestrate.itmatthewcroughan * Mic92 | Unable to decrypt message: can the disko tests be ran on arm64 too, as part of ci? 17:54:11
@matthewcroughan:defenestrate.itmatthewcroughan the tl;dr of the conversation above is that the tests/btrfs-subvolumes.nix hangs at booted-machine on arm64 17:55:10
@joerg:thalheim.ioMic92 Disko works on aarch64 but something is broken with the nixos test 17:55:38
@matthewcroughan:defenestrate.itmatthewcroughanah okay, red herring then 17:55:47
@matthewcroughan:defenestrate.itmatthewcroughan 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
@jdemille:tchncs.deJulia DeMillewonderful, okay17:56:45
@jdemille:tchncs.deJulia DeMillethe issue doesn't seem to be recreated on x86_6418:03:31
@matthewcroughan:defenestrate.itmatthewcroughanoh really? interesting18:08:24
@matthewcroughan:defenestrate.itmatthewcroughan what if you change the system argument of your nixosConfiguration from aarch64-linux to x86_64-linux? 18:08:47
@matthewcroughan:defenestrate.itmatthewcroughanthen perform the test on that18:08:53
@jdemille:tchncs.deJulia DeMilleone moment18:14:03
@jdemille:tchncs.deJulia DeMille nix build .#nixosConfigurations.callisto.config.system.build.installTest -L succeeds with that changed 18:16:36
@matthewcroughan:defenestrate.itmatthewcroughanright, 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:defenestrate.itmatthewcroughanare you sure it's not some other module causing this state change in the real world, deploy-rs, etc?18:23:07
@jdemille:tchncs.deJulia DeMilleno idea18:30:32
@lassulus:lassul.uslassulusDid you create the new subvolume manually after declaring it in your config? Because disko doesn't do that (yet) for you18:43:52
@jdemille:tchncs.deJulia DeMilleif i have to do it manually, that'll do it18:46:42
@matthewcroughan:defenestrate.itmatthewcroughanstate! imperative! :O18:47:01
@jdemille:tchncs.deJulia DeMillehow dare my disko have imperative state?18:59:15
@jdemille:tchncs.deJulia DeMillethat was it lmao it works now19:00:02
@jdemille:tchncs.deJulia DeMillesomeone should document that quirk19:00:23
@matthewcroughan:defenestrate.itmatthewcroughanif you're familiar with the Nix/NixOS/declarative paradigm it should be obvious, it's not at all uncommon to have things like this undocumented19:04:29
@matthewcroughan:defenestrate.itmatthewcroughanit kind of goes with the paradigm19:04:36
@matthewcroughan:defenestrate.itmatthewcroughanand I'm sure lassulus intends to fix it too 19:04:49
@matthewcroughan:defenestrate.itmatthewcroughanHere's a nix based, non-nixos, ZFS based solution to the same problem https://vpsadminos.org/containers/declarative/19:06:08

Show newer messages


Back to Room ListRoom Version: 10