| 13 Oct 2021 |
baloo | 0o203 & 0b1111 gives you the Rcode = 3 which is NXDOMAIN | 15:23:26 |
baloo | (sorry dns nerd here) | 15:23:34 |
tomberek | i figured you'd be able to track this down faster than me 😉 . I forgot to mention, i'm on: nix (Nix) 2.5pre20211007_844dd90 | 15:30:47 |
baloo | I did not expect it to trigger dns on nix --version, admitedly, but the rest of it makes sense | 15:31:39 |
sterni | In reply to @ninjatrappeur:matrix.org sent an image. and the links in the man page output are not fixable, this is due to nix using lowdown for rendering section 1 man pages from markdown which it is not intended for | 15:35:45 |
baloo | tomberek: we could getaddrinfo_a with NOWAIT | 15:40:39 |
baloo | /* Enqueue ENT requests from the LIST. If MODE is GAI_WAIT wait until all
requests are handled. If WAIT is GAI_NOWAIT return immediately after
queueing the requests and signal completion according to SIG.
| 15:40:46 |
baloo | not part of posix blablabla | 15:41:06 |
NinjaTrappeur | In reply to @sternenseemann:systemli.org and the links in the man page output are not fixable, this is due to nix using lowdown for rendering section 1 man pages from markdown which it is not intended for :( | 15:44:27 |
tomberek | localhost, _gateway, _outbound? | 15:51:29 |
baloo | you don't get access to the LOCALDOMAIN workaround with getaddrinfo_a | 17:17:20 |
baloo | got to love glibc | 17:17:31 |
baloo | tomberek: want to try a patch? | 17:33:57 |
baloo | this one is confusing, I don't understand why it works | 17:36:44 |
baloo | https://gist.github.com/baloo/681022e8c694306b3d5daad65282b8b6 | 18:22:08 |
| rch joined the room. | 18:40:46 |
| 14 Oct 2021 |
baloo | tomberek: https://gist.github.com/baloo/c7a704c978816f96fdd5666713ce1681 | 04:22:52 |
baloo | not doing weird thing to have side effects could actually work too :D | 04:23:33 |
baloo | https://github.com/NixOS/nix/pull/5384 | 04:28:02 |
tomberek | does that work with nix-static? | 04:39:33 |
baloo | no idea | 04:39:43 |
tomberek | i'll try | 04:39:49 |
baloo | unlikely, nss itself just brings every database backend when it's statically built | 04:47:32 |
baloo | I probably should macro the dlopen on non-static or something | 04:47:51 |
tomberek | > src/libmain/shared.cc:18:10: fatal error: gnu/lib-names.h: No such file or directory
> 18 | #include <gnu/lib-names.h>
yup
| 04:56:20 |
baloo | how do you build it static? | 04:59:16 |
tomberek | nix build 'github:baloo/nix-1?ref=2db947a7100ed6cff355159959e7e0cb10cab3e2#nix-static' | 04:59:45 |
baloo | I can't find any macro/define for static build, if I read the makefiles correctly it's missing | 17:21:39 |
baloo | is this correct? | 17:21:49 |
trofi | calling dl_iterate_phdr() might be a good enough way to check if there are any dynamic tags present in program. I hope it does not require libdl.so :) | 17:56:21 |