| 2 Dec 2025 |
xored | the host resolv is systemd-resolved stub | 23:14:17 |
raitobezarius | the default one? | 23:14:23 |
xored | I can give you the resolved one | 23:14:24 |
raitobezarius | 127.0.0.53 ? | 23:14:27 |
xored | yes | 23:14:31 |
raitobezarius | so 169.254.1.1 should be connected to 127.0.0.53 hm | 23:14:49 |
raitobezarius | can you show me the full output of a failed FOD failing to resolve DNS names? | 23:15:17 |
xored | how would I do that? enlighten a noob | 23:15:54 |
raitobezarius | basically you did a build and you realized things are not working, do you have the logs for these failures? | 23:16:13 |
xored | yeah I can do another | 23:16:22 |
raitobezarius | thanks! | 23:16:25 |
xored | but it is not very helpful | 23:16:35 |
xored | is just curl timing out | 23:16:40 |
xored | do you want me to pass any flags or something? | 23:16:50 |
raitobezarius | it would be helpful for me to ascertain what is the context | 23:16:52 |
raitobezarius | well you could pass more flags but then this may contain secrets if you put things in your netrc | 23:17:08 |
raitobezarius | (-vvvv) | 23:17:13 |
raitobezarius | let's do it in two steps if you don't mind | 23:17:29 |
xored | yeah ok I can't make sense of anything with super verbose lol | 23:17:52 |
xored | exit code 1;
last 14 log lines:
>
> trying https://download.samba.org/pub/samba/stable/samba-4.22.6.tar.gz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- 0:00:19 --:--:-- 0curl: (6) Could not resolve host: download.samba.org
> Warning: Problem : timeout. Will retry in 1 second. 3 retries left.
> curl: (6) Could not resolve host: download.samba.org
> Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
> curl: (6) Could not resolve host: download.samba.org
> Warning: Problem : timeout. Will retry in 4 seconds. 1 retry left.
> curl: (6) Could not resolve host: download.samba.org
> error checking the existence of https://tarballs.nixos.org//sha256-jmvrDM6H+zx2OvlMLcIf1HuP0C1Gs8sd6ypy35JZxCU=:
> curl: (28) Resolving timed out after 15000 milliseconds
> error: cannot download samba-4.22.6.tar.gz from any mirror
For full logs, run:
nix log /nix/store/3c1s384q5z4qvrqxvm9m46jfaklsq45i-samba-4.22.6.tar.gz.drv
| 23:19:15 |
raitobezarius | ok nice | 23:19:30 |
raitobezarius | on your host, if you do host download.samba.org what is the result? | 23:19:48 |
xored | host download.samba.org
download.samba.org is an alias for hr2-3.samba.org.
hr2-3.samba.org has address 144.76.82.148
hr2-3.samba.org has IPv6 address 2a01:4f8:192:486::2:3
hr2-3.samba.org has HTTP service bindings 1 . alpn="h3,h2" ipv4hint=144.76.82.148 ipv6hint=2a01:4f8:192:486::2:3
| 23:20:24 |
raitobezarius | you're running that on the remote builder right? | 23:21:16 |
xored | yes | 23:21:21 |
raitobezarius | nix-build -E 'let pkgs = (import <nixpkgs> {}); in pkgs.runCommand "resolvconf" { outputHashAlgo = "sha256"; outputHashMode = "flat"; outputHash = pkgs.lib.fakeHash; } "${pkgs.bind.host}/bin/host download.samba.org"'
now | 23:22:43 |
xored | [root@shiva:~]# nix-build -E 'let pkgs = (import <nixpkgs> {}); in pkgs.runCommand "resolvconf" { outputHashAlgo = "sha256"; outputHashMode = "flat"; outputHash = pkgs.lib.fakeHash; } "${pkgs.bind.host}/bin/host download.samba.org"'
this derivation will be built:
/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv
building '/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv'...
;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
;; no servers could be reached
;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
;; communications error to 64:ff9b:1:4b8e:472e:a5c8:a9fe:101#53: timed out
;; no servers could be reached
error: builder for '/nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv' failed with exit code 1;
last 5 log lines:
> ;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
> ;; no servers could be reached
> ;; UDP setup with 169.254.1.1#53(169.254.1.1) for download.samba.org failed: network unreachable.
> ;; communications error to 64:ff9b:1:4b8e:472e:a5c8:a9fe:101#53: timed out
> ;; no servers could be reached
For full logs, run:
nix log /nix/store/q3pxi75g82zl0yx4rayzaqb83fq78mng-resolvconf.drv
| 23:23:39 |
raitobezarius | argh | 23:23:53 |
xored | in the issue you linked me to someone disabled the 127.0.0.1 and stub | 23:24:08 |
raitobezarius | yes there's a bug | 23:24:17 |