| 4 Oct 2022 |
@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 |
@elvishjerricco:matrix.org | well make-initrd-ng is doing the right thing | 22:20:28 |
@hexa:lossy.network | passed in libxcrypt and voila | 22:20:28 |
@elvishjerricco:matrix.org | it's complaining that we're asking for something that doesn't exist | 22:20:38 |
@hexa:lossy.network | yeah, it's errors are just a wee bit cryptic | 22:20:39 |
@elvishjerricco:matrix.org | albeit with a bad error message | 22:20:44 |