| 4 Oct 2022 |
@elvishjerricco:matrix.org | weird | 22:13:09 |
@elvishjerricco:matrix.org | wish I understood git :P | 22:13:14 |
@elvishjerricco:matrix.org | much fewer derivations to build with that one | 22:14:17 |
@elvishjerricco:matrix.org | and error message received | 22:14:56 |
@hexa:lossy.network | it happens in handle_path somewhere | 22:16:28 |
@hexa:lossy.network | > handle_path /nix/store/5bq7yqxh6q83fl631h2c561hpam13lr0-util-linux-minimal-2.38.1-bin/bin/sulogin
> Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
| 22:16:41 |
@hexa:lossy.network |
| 22:16:46 |
@elvishjerricco:matrix.org | yea I just started println! debugging and threw a print in there :P | 22:16:50 |
@hexa:lossy.network | well, there is no sulogin in util-linuxMinimal | 22:17:25 |
@elvishjerricco:matrix.org | oh wut | 22:17:32 |
@hexa:lossy.network | it is on master 😄 | 22:18:00 |
@hexa:lossy.network | but I guess that just needs crypt and doesn't fail when it is missing | 22:18:15 |
@hexa:lossy.network | very odd | 22:18:17 |
@elvishjerricco:matrix.org | well | 22:18:28 |
@elvishjerricco:matrix.org | sulogin is relevant because systemd uses it for emergency/rescue mode | 22:18:41 |
@hexa:lossy.network | I won't deny it is 😄 | 22:18:50 |
@elvishjerricco:matrix.org | I guess it gets it from util-linux? | 22:18:50 |
@elvishjerricco:matrix.org | and if util-linux doesn't have it then we're screwed? | 22:19:13 |
@hexa:lossy.network | but I really would hope it would fail to build | 22:19:17 |
@elvishjerricco:matrix.org | but why wouldn't it have it? | 22:19:19 |
@hexa:lossy.network | * but I really would hope it would fail to build, if it was not seeing crypt() | 22:19:22 |
@hexa:lossy.network | because sulogin likely requires crypt() | 22:19:29 |
@elvishjerricco:matrix.org | oh | 22:19:36 |
@elvishjerricco:matrix.org | yea | 22:19:37 |
@hexa:lossy.network | and instead of failing outright | 22:19:40 |
@hexa:lossy.network | it just doesn't build sulogin | 22:19:45 |
@hexa:lossy.network | which is stupid | 22:19:47 |
@elvishjerricco:matrix.org | yea... | 22:19:52 |
@elvishjerricco:matrix.org | so we just can't have emergency/rescue mode on that branch | 22:20:12 |
@hexa:lossy.network | so … yeah. some error handling in make-initrd-ng would be lovely 🙂 | 22:20:13 |