Package: pbuilder Version: 0.221.1 Severity: important Hello Mattia,
To start with, this bug report is mostly a question. I'm not sure if this is really a bug, and if so, is it warranted against pbuilder. Currently, the way pbuilder works is that it looks into the /etc/resolv.conf in its chroot. From it, it determines its name resolver. To keep things simple, for years I ran the dnsmasq caching server locally on my box. It helped me to have a static name server, localhost, for that puprose. If not using a caching nameserver, how are users supposed to use pbuilder ? Are they expected to ensure valid name servers are defined ? I can't see any way to relate the host's nameserver listing into the chroot. When I log into pbuilder, there are very limited mounts that pbuilder defines. If /run as a whole was mounted, then pbuilder could have had /etc/resolv.conf as a symlink. rrs@learner:~$ sudo pbuilder --login [sudo] password for rrs: I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/sid-amd64-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: Mounting /var/cache/apt/archives/ I: Mounting /var/tmp/lxc/ccache I: policy-rc.d already exists W: no hooks of type H found -- ignoring I: entering the shell File extracted to: /tmp/26793 W: no hooks of type F found -- ignoring root@learner:/# ls /run/shm/ -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages pbuilder depends on: ii debconf [debconf-2.0] 1.5.58 ii debootstrap 1.0.75 ii dpkg-dev 1.18.3 ii wget 1.17-1 Versions of packages pbuilder recommends: ii devscripts 2.15.9 ii fakeroot 1.20.2-1 ii iproute2 4.3.0-1 ii net-tools 1.60+git20150829.73cef8a-2 ii sudo 1.8.12-1 Versions of packages pbuilder suggests: ii cowdancer 0.75 ii gdebi-core 0.9.5.7 pn pbuilder-uml <none> -- debconf information: pbuilder/nomirror: * pbuilder/rewrite: false pbuilder/mirrorsite: http://ftp.debian.org/debian/