Package: pbuilder Version: 0.221 Version: 0.221.1 Severity: grave Justification: Renders package unusable on mobile devices
Since at least 0.221 (and including 0.221.1), possibly also already with 0.220, /etc/resolv.conf is no more updated inside the chroot, hence no more DNS inside chroot after a location change which implied different DNS servers, e.g. when having pbuilder installed on a laptop which connects to differnt networks between two "pbuilder update" runs: # pbuilder update --autocleanaptcache W: /root/.pbuilderrc does not exist I: Current time: Thu Nov 26 22:35:38 CET 2015 I: pbuilder-time-stamp: 1448573738 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/sid/base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: policy-rc.d already exists W: Could not create compatibility symlink because /tmp/buildd is not empty W: no hooks of type H found -- ignoring I: Refreshing the base.tgz I: upgrading packages Err http://debian.ethz.ch sid InRelease Err http://debian.ethz.ch sid Release.gpg Could not resolve 'debian.ethz.ch' Reading package lists... W: Failed to fetch http://debian.ethz.ch/debian/dists/sid/InRelease W: Failed to fetch http://debian.ethz.ch/debian/dists/sid/Release.gpg Could not resolve 'debian.ethz.ch' W: Some index files failed to download. They have been ignored, or old ones used instead. I: Obtaining the cached apt archive contents Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... Package 'ccache' is not installed, so not removed Package 'debdelta' is not installed, so not removed aptitude is already the newest version. build-essential is already the newest version. dpkg-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Copying back the cached apt archive contents I: Cleaning the cached apt archive Reading package lists... Done Building dependency tree Reading state information... Done W: no hooks of type E found -- ignoring I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem I: creating base tarball [/var/cache/pbuilder/sid/base.tgz] I: cleaning the build env I: removing directory /var/cache/pbuilder/build/18309 and its subdirectories This makes the package practically unusable on at least mobile devices. Workaround: shell1 # pbuilder login --save-after-login shell2 # cp -pv /etc/resolv.conf /var/cache/pbuilder/build/*/etc/resolv.conf shell1 # exit P.S.: Feel free to reassign in case any other package has caused this breakage. I just know that it wasn't network-manager as the 1.0.8-1 update came _after_ this happened. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-rc5-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (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.1.1-1 ii net-tools 1.60+git20150829.73cef8a-2 ii pseudo [fakeroot] 1.7.4-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/rewrite: false pbuilder/nomirror: pbuilder/mirrorsite: http://ftp.ch.debian.org/debian/