| 13 Oct 2021 |
tomberek | baloo: preloadNSS patch is causing a DNS lookup to "this.pre-initializes...", and in some cases takes 5 seconds to timeout. (this runs even for nix --version. I've not yet fully investigated, but I am on captive portal DHCP. Otherwise a fairly normal NixOS config. | 12:37:17 |
baloo | Ha | 13:26:29 |
baloo | Any chance you could strace nix —version and put that on a gist for me?
With your captive portal (just to make sure) | 13:29:10 |
tomberek | baloo: https://gist.github.com/tomberek/0b2655fec8f0fdaabc233d5c880e74d5 | 15:09:22 |
baloo | this is interesting, it looks like it actually gets a response | 15:11:31 |
baloo | but ... | 15:12:33 |
NinjaTrappeur |  Download 56ac7c8db6d1afb677c98f717efdf1e3d2219c1aae8cc45c911c40d7b45af591-kAjR3I8.png | 15:12:35 |
baloo | the request id is ... wrong | 15:12:40 |
baloo | what | 15:12:44 |
baloo | how is that possible | 15:12:47 |
NinjaTrappeur | The --help output of Nix 2.4 looks pretty weird WRT. colors. | 15:12:48 |
NinjaTrappeur | IS that done on purpose or is this a config issue of the doc output? | 15:13:05 |
balsoft | In reply to @ninjatrappeur:matrix.org IS that done on purpose or is this a config issue of the doc output? I think it's fixed now | 15:13:20 |
balsoft |  Download clipboard.png | 15:13:29 |
baloo | https://datatracker.ietf.org/doc/html/rfc1035#section-4.1.1 | 15:13:38 |
baloo | tomberek: the ID there should match | 15:13:45 |
sterni | In reply to @ninjatrappeur:matrix.org IS that done on purpose or is this a config issue of the doc output? it's the default output of -Tterm for lowdown, should be documented in its man page how it works | 15:14:09 |
sterni | for me it looks similar to yours actually | 15:14:15 |
baloo | you sent "~\256", you received "\261\271" | 15:14:22 |
balsoft | In reply to @balsoft:balsoft.ru I think it's fixed now https://github.com/kristapsdz/lowdown/pull/74 | 15:14:29 |
NinjaTrappeur | Alright. Thanks! | 15:15:03 |
baloo | nevermind, there is actually 2 | 15:15:12 |
tomberek | baloo: hotel portals like to hijack DNS for their initial connection and give every request a specific response to their "login page" | 15:15:18 |
tomberek | i thought the LOCALDOMAIN would prevent this | 15:15:29 |
baloo | LOCALDOMAIN is just here to prevent nss from using nscd | 15:15:50 |
baloo | whenever this is present, it bypasses the local nscd cache, and just load the libnss-dns.so | 15:16:07 |
baloo | which is what we want to achieve | 15:16:17 |
baloo | we moved it early in the initialization because modifying the environment is not thread safe | 15:16:39 |
tomberek | is there a faster way to error out? An invalid URL? So the library still loads, but has 0 chance to being interpreted as valid? | 15:17:03 |
baloo | I just git cloned glibc (again) | 15:17:26 |