| 8 Oct 2025 |
raitobezarius | https://wiki.lix.systems/books/lix-users/page/debugging-a-stuck-lix-invocation | 19:28:24 |
raitobezarius | in a container case, there's no daemon/subdaemon | 19:28:34 |
QuadRadical (Ping) | ah sure thank you | 19:28:30 |
QuadRadical (Ping) | i was using nix flake check | 19:28:42 |
QuadRadical (Ping) | as the command | 19:28:43 |
QuadRadical (Ping) | would the strace work on that too? | 19:28:49 |
raitobezarius | yes | 19:28:57 |
raitobezarius | but you might need to do your own image | 19:29:09 |
raitobezarius | strace are not in the lix images | 19:29:13 |
QuadRadical (Ping) | okay thank you | 19:29:11 |
QuadRadical (Ping) | oh | 19:29:16 |
raitobezarius | if you can reproduce this outside of the container build, it'd be great | 19:29:22 |
QuadRadical (Ping) | i can probably just get it from nix profile or smth, no? | 19:29:26 |
raitobezarius | try to disable sandbox to reproduce the sandbox environment | 19:29:30 |
raitobezarius | true | 19:29:33 |
QuadRadical (Ping) | i run the same exact commands but no dice | 19:29:34 |
raitobezarius | but if it doesn't complete… :D | 19:29:38 |
QuadRadical (Ping) | ah | 19:29:37 |
raitobezarius | the container environment | 19:29:45 |
raitobezarius | brain is mushy | 19:29:47 |
raitobezarius | but major diff in containers is disabled sandbox fyi | 19:29:53 |
QuadRadical (Ping) | this also could be something with the fact its ran as root | 19:29:51 |
QuadRadical (Ping) | lix is ran as root, i m ean | 19:29:56 |
raitobezarius | NIX_REMOTE=local nix --no-sandbox flake check -L | 19:30:05 |
raitobezarius | * sudo NIX_REMOTE=local nix --no-sandbox flake check -L | 19:30:10 |
raitobezarius | * sudo NIX_REMOTE=local nix --no-sandbox flake check -L | 19:30:13 |
raitobezarius | this should get you closer | 19:30:19 |
QuadRadical (Ping) | will try thanks | 19:30:18 |
QuadRadical (Ping) | shouldnt the env var go before sudo | 19:30:21 |
Katalin 🔪 | sudo might not pass it to the process like that depending on the configuration | 19:31:37 |