!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

533 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30118 Servers

Load older messages


SenderMessageTime
5 Sep 2021
@baloo_:matrix.orgbaloo

This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).\n# Do not edit.\n#\n# This file might be symlinked as /etc/resolv.conf. If you're looking at\n# /etc/resolv.conf and seeing this text, you have followed the symlink.\n#\n# This is a dynamic resolv.conf file for connecting local clients to the\n# internal DNS stub resolver of systemd-resolved. This file lists all\n# configured search domains.\n#\n# Run "resolvectl status" to see details about the uplink DNS servers\n# currently in use.\n#\n# Third party programs should typically not access this file directly, but only\n# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a\n# different way, replace this symlink by a static file or a different symlink.\n#\n# See man:systemd-resolved.service(8) for details about the supported modes of\n# operation for /etc/resolv.conf.\n\nnameserver 127.0.0.53\noptions edns0 trust-ad\nsearch naive.network\n

19:47:47
@baloo_:matrix.orgbaloooops19:47:52
@baloo_:matrix.orgbaloo *
19:48:00
@baloo_:matrix.orgbaloo *
19:48:04
@baloo_:matrix.orgbaloo *
https://github.com/NixOS/nix/issues/5089#issuecomment-913174916
19:48:13
* @zhaofeng:zhaofeng.liZhaofeng Li should pay a bit more attention to sanitizing logs...19:48:13
@baloo_:matrix.orgbaloo *
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).\n# Do not edit.\n#\n# This file might be symlinked as /etc/resolv.conf. If you're looking at\n# /etc/resolv.conf and seeing this text, you have followed the symlink.\n#\n# This is a dynamic resolv.conf file for connecting local clients to the\n# internal DNS stub resolver of systemd-resolved. This file lists all\n# configured search domains.\n#\n# Run \"resolvectl status\" to see details about the uplink DNS servers\n# currently in use.\n#\n# Third party programs should typically not access this file directly, but only\n# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a\n# different way, replace this symlink by a static file or a different symlink.\n#\n# See man:systemd-resolved.service(8) for details about the supported modes of\n# operation for /etc/resolv.conf.\n\nnameserver 127.0.0.53\noptions edns0 trust-ad\nsearch naive.network\n
19:48:22
@baloo_:matrix.orgbaloothere is a couple interesting bits in there19:49:22
@baloo_:matrix.orgbaloo

like:

[pid 909751] openat(AT_FDCWD, "/nix/store/9bh3986bpragfjmr32gay8p95k91q4gy-glibc-2.33-47/lib/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
19:49:45
@baloo_:matrix.orgbalooI don't believe this is normal19:50:14
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlI thought that library should be loaded before the sandbox is created19:50:55
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nl * I thought that library should be loaded before the sandbox is created, or something in that regard19:51:18
@baloo_:matrix.orgbaloothere is an "nss hack" in nix. could be that19:51:43
@baloo_:matrix.orgbaloobut I'm confused, because on my setup, nix invokes curl which in turn loads nss19:52:32
@baloo_:matrix.orgbalooinvokes = execve(/nix/store/..../bin/curl)19:53:01
@zhaofeng:zhaofeng.liZhaofeng LiWait, the builtin:fetchurl builder should use libcurl?19:53:42
@baloo_:matrix.orgbalooiirc, yeah19:53:54
@zhaofeng:zhaofeng.liZhaofeng LiAre you sure you are running the command above?19:53:55
@zhaofeng:zhaofeng.liZhaofeng Li Because pkgs.fetchurl uses curl CLI and it does work 19:54:47
@zhaofeng:zhaofeng.liZhaofeng LiOnly <nix/fetchurl.nix> seems to be affected19:55:02
@baloo_:matrix.orgbalooha could be.19:58:29
@baloo_:matrix.orgbaloorunning the same strace here, and it looks like you're correct, it does not execve curl19:59:10
@baloo_:matrix.orgbaloobut ... I still see:19:59:16
@baloo_:matrix.orgbaloo
[pid 137791] openat(AT_FDCWD, "/nix/store/9bh3986bpragfjmr32gay8p95k91q4gy-glibc-2.33-47/lib/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = 10
19:59:23
@baloo_:matrix.orgbaloothat works fine ...19:59:28
@baloo_:matrix.orgbaloohuuum19:59:41
@baloo_:matrix.orgbaloo could you share the output of mount? 19:59:52
@baloo_:matrix.orgbaloo is /nix/store in the same filesystem than /? 20:00:11
@zhaofeng:zhaofeng.liZhaofeng LiNo, different filesystem20:00:35
@baloo_:matrix.orgbalooha!20:00:47

Show newer messages


Back to Room ListRoom Version: 6