[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changes to libc affecting name resolution in chroots?



Hi,

On Dienstag, 20. Oktober 2009, Dominic Hargreaves wrote:
> One of my development sid chroots has mysteriously been unable to
> download apt lists since around the time of the last upgrade, which
> I noticed upgraded libc6.
>
> My best guess at this point is that something related to this upgrade
> has broken some forms of name resolution, although not completely:
>
> "  Something wicked happened resolving 'mirror.ox.ac.uk:http' (-5)"
>
> The host system is functioning normally, whilst the host(1) command
> both inside and outside the chroot works (with the same resolv.conf).
>
> Host system is lenny / 2.6.26-2-686
>
> Does this sound familiar to anyone?

Yes:

piupartsm@piatti:/org/piuparts.debian.org/master/sid$ rgrep -l -e "Failed to 
fetch.*Something wicked happened resolving" fail/*|wc
    237     237    7713

I'm attaching one log like this to this mail, as I'll cleanup piuparts.d.o 
now... (though I assume piuparts runs will fail instantly again..)

Any hints welcome, unfortunatly I dont have time to dog into this myself 
atm... :(


regards,
	Holger
Start: 2009-10-19 17:09:22 UTC

Package: mpich2-doc
Priority: extra
Section: doc
Installed-Size: 3568
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Architecture: all
Source: mpich2
Version: 1.2-2
Conflicts: lam-mpidoc, lam4-dev, mpi-doc, openmpi-doc, openmpi-mpidoc
Filename: pool/main/m/mpich2/mpich2-doc_1.2-2_all.deb
Size: 1077398
MD5sum: 8a2d54e34eda47e6594db1a8cbb03e35
SHA1: d90cd38203339d14e79296099c88ce9c3f000496
SHA256: 9bef5b10a08ecba1054d1b6e24543f5eecc950fe1dcbbdb9d2c8a39ab0e7ac63
Description: Documentation for MPICH2
 MPICH2 is a high-performance and widely portable implementation of the
 Message Passing Interface (MPI) standard (both MPI-1 and MPI-2). It
 efficiently supports different computation and communication platforms
 including commodity clusters, SMPs, massively parallel systems, and
 high-speed networks.
 .
 This package includes the MPICH2 documentation.
Homepage: http://www.mcs.anl.gov/research/projects/mpich2/

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --no-symlinks --skip-minimize --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ mpich2-doc
Guessed: debian
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at http://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: piuparts version 0.37~20091019 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --no-symlinks --skip-minimize --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ mpich2-doc
0m0.0s INFO: Running on: Linux piatti 2.6.30.8-dsa-amd64 #1 SMP Thu Sep 24 23:43:40 CEST 2009 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmppFHiXB
0m0.0s DEBUG: Unpacking sid.tar.gz into /org/piuparts.debian.org/tmp/tmppFHiXB
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmppFHiXB', '-zxf', 'sid.tar.gz']
0m3.1s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmppFHiXB', '-zxf', 'sid.tar.gz']
0m3.1s DEBUG: Created policy-rc.d and chmodded it.
0m3.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', 'update']
0m5.4s DUMP: 
  Get:1 http://piatti.debian.org sid Release.gpg [835B]
  Get:2 http://piatti.debian.org sid Release [104kB]
  Ign http://piatti.debian.org sid/main Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib Packages
  Ign http://piatti.debian.org sid/non-free Packages
  Ign http://piatti.debian.org sid/main Packages
  Get:3 http://piatti.debian.org sid/contrib Packages [66.3kB]
  Get:4 http://piatti.debian.org sid/non-free Packages [128kB]
  Get:5 http://piatti.debian.org sid/main Packages [8195kB]
  Fetched 8494kB in 1s (6644kB/s)
  Reading package lists...
0m5.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', 'update']
0m5.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'mount', '-t', 'proc', 'proc', '/proc']
0m5.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'mount', '-t', 'proc', 'proc', '/proc']
0m5.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', '-yf', 'upgrade']
0m15.5s DUMP: 
  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
    bsdutils dhcp3-client dhcp3-common gcc-4.3-base gcc-4.4-base libblkid1
    libc-bin libc6 libdevmapper1.02.1 libgcc1 libnewt0.52 libpopt0 libselinux1
    libsepol1 libstdc++6 libuuid1 module-init-tools mount procps rsyslog
    traceroute tzdata udev util-linux wget whiptail
  26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 10.3MB of archives.
  After this operation, 819kB of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    mount tzdata util-linux libc-bin libc6 gcc-4.4-base libgcc1 libstdc++6
    bsdutils libselinux1 udev libuuid1 libblkid1 libsepol1 dhcp3-client
    dhcp3-common libnewt0.52 libpopt0 module-init-tools rsyslog traceroute wget
    whiptail gcc-4.3-base libdevmapper1.02.1 procps
  Authentication warning overridden.
  Get:1 http://piatti.debian.org sid/main mount 2.16.1-4 [170kB]
  Get:2 http://piatti.debian.org sid/main tzdata 2009n-2 [764kB]
  Get:3 http://piatti.debian.org sid/main util-linux 2.16.1-4 [623kB]
  Get:4 http://piatti.debian.org sid/main libc-bin 2.10.1-1 [726kB]
  Get:5 http://piatti.debian.org sid/main libc6 2.10.1-1 [4227kB]
  Get:6 http://piatti.debian.org sid/main gcc-4.4-base 4.4.2-1 [113kB]
  Get:7 http://piatti.debian.org sid/main libgcc1 1:4.4.2-1 [44.8kB]
  Get:8 http://piatti.debian.org sid/main libstdc++6 4.4.2-1 [342kB]
  Get:9 http://piatti.debian.org sid/main bsdutils 1:2.16.1-4 [78.0kB]
  Get:10 http://piatti.debian.org sid/main libselinux1 2.0.87-1 [84.6kB]
  Get:11 http://piatti.debian.org sid/main udev 146-5 [452kB]
  Get:12 http://piatti.debian.org sid/main libuuid1 2.16.1-4 [56.7kB]
  Get:13 http://piatti.debian.org sid/main libblkid1 2.16.1-4 [86.2kB]
  Get:14 http://piatti.debian.org sid/main libsepol1 2.0.39-1 [130kB]
  Get:15 http://piatti.debian.org sid/main dhcp3-client 3.1.3-1 [246kB]
  Get:16 http://piatti.debian.org sid/main dhcp3-common 3.1.3-1 [312kB]
  Get:17 http://piatti.debian.org sid/main libnewt0.52 0.52.10-4.1 [67.9kB]
  Get:18 http://piatti.debian.org sid/main libpopt0 1.15-1 [51.6kB]
  Get:19 http://piatti.debian.org sid/main module-init-tools 3.11-1 [107kB]
  Get:20 http://piatti.debian.org sid/main rsyslog 4.4.2-1 [295kB]
  Get:21 http://piatti.debian.org sid/main traceroute 2.0.12-3 [55.3kB]
  Get:22 http://piatti.debian.org sid/main wget 1.12-1 [761kB]
  Get:23 http://piatti.debian.org sid/main whiptail 0.52.10-4.1 [39.1kB]
  Get:24 http://piatti.debian.org sid/main gcc-4.3-base 4.3.4-5 [108kB]
  Get:25 http://piatti.debian.org sid/main libdevmapper1.02.1 2:1.02.38-2 [75.2kB]
  Get:26 http://piatti.debian.org sid/main procps 1:3.2.8-2 [246kB]
  Preconfiguring packages ...
  Fetched 10.3MB in 0s (44.5MB/s)
  (Reading database ... 8260 files and directories currently installed.)
  Preparing to replace mount 2.16.1-3 (using .../mount_2.16.1-4_amd64.deb) ...
  Unpacking replacement mount ...
  Processing triggers for man-db ...
  Setting up mount (2.16.1-4) ...
  (Reading database ... 8260 files and directories currently installed.)
  Preparing to replace tzdata 2009n-1 (using .../tzdata_2009n-2_all.deb) ...
  Unpacking replacement tzdata ...
  Setting up tzdata (2009n-2) ...
  
  Current default time zone: 'Etc/UTC'
  Local time is now:      Mon Oct 19 17:09:29 UTC 2009.
  Universal Time is now:  Mon Oct 19 17:09:29 UTC 2009.
  Run 'dpkg-reconfigure tzdata' if you wish to change it.
  
  (Reading database ... 8260 files and directories currently installed.)
  Preparing to replace util-linux 2.16.1-3 (using .../util-linux_2.16.1-4_amd64.deb) ...
  Unpacking replacement util-linux ...
  Processing triggers for man-db ...
  Processing triggers for install-info ...
  Setting up util-linux (2.16.1-4) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace libc-bin 2.9-27 (using .../libc-bin_2.10.1-1_amd64.deb) ...
  Unpacking replacement libc-bin ...
  Processing triggers for man-db ...
  Setting up libc-bin (2.10.1-1) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace libc6 2.9-27 (using .../libc6_2.10.1-1_amd64.deb) ...
  Unpacking replacement libc6 ...
  Setting up libc6 (2.10.1-1) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace gcc-4.4-base 4.4.1-4 (using .../gcc-4.4-base_4.4.2-1_amd64.deb) ...
  Unpacking replacement gcc-4.4-base ...
  Setting up gcc-4.4-base (4.4.2-1) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace libgcc1 1:4.4.1-4 (using .../libgcc1_1%3a4.4.2-1_amd64.deb) ...
  Unpacking replacement libgcc1 ...
  Setting up libgcc1 (1:4.4.2-1) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace libstdc++6 4.4.1-4 (using .../libstdc++6_4.4.2-1_amd64.deb) ...
  Unpacking replacement libstdc++6 ...
  Setting up libstdc++6 (4.4.2-1) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace bsdutils 1:2.16.1-3 (using .../bsdutils_1%3a2.16.1-4_amd64.deb) ...
  Unpacking replacement bsdutils ...
  Processing triggers for man-db ...
  Setting up bsdutils (1:2.16.1-4) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace libselinux1 2.0.85-4 (using .../libselinux1_2.0.87-1_amd64.deb) ...
  Unpacking replacement libselinux1 ...
  Setting up libselinux1 (2.0.87-1) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace udev 146-3 (using .../archives/udev_146-5_amd64.deb) ...
  Unpacking replacement udev ...
  Preparing to replace libuuid1 2.16.1-3 (using .../libuuid1_2.16.1-4_amd64.deb) ...
  Unpacking replacement libuuid1 ...
  Processing triggers for man-db ...
  Setting up libuuid1 (2.16.1-4) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace libblkid1 2.16.1-3 (using .../libblkid1_2.16.1-4_amd64.deb) ...
  Unpacking replacement libblkid1 ...
  Setting up libblkid1 (2.16.1-4) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace libsepol1 2.0.38-2 (using .../libsepol1_2.0.39-1_amd64.deb) ...
  Unpacking replacement libsepol1 ...
  Setting up libsepol1 (2.0.39-1) ...
  (Reading database ... 8261 files and directories currently installed.)
  Preparing to replace dhcp3-client 3.1.2p1-1 (using .../dhcp3-client_3.1.3-1_amd64.deb) ...
  Unpacking replacement dhcp3-client ...
  Preparing to replace dhcp3-common 3.1.2p1-1 (using .../dhcp3-common_3.1.3-1_amd64.deb) ...
  Unpacking replacement dhcp3-common ...
  Preparing to replace libnewt0.52 0.52.10-4 (using .../libnewt0.52_0.52.10-4.1_amd64.deb) ...
  Unpacking replacement libnewt0.52 ...
  Preparing to replace libpopt0 1.14-4 (using .../libpopt0_1.15-1_amd64.deb) ...
  Unpacking replacement libpopt0 ...
  Preparing to replace module-init-tools 3.10-3 (using .../module-init-tools_3.11-1_amd64.deb) ...
  Unpacking replacement module-init-tools ...
  Preparing to replace rsyslog 4.4.1-1 (using .../rsyslog_4.4.2-1_amd64.deb) ...
  Unpacking replacement rsyslog ...
  Preparing to replace traceroute 2.0.12-2 (using .../traceroute_2.0.12-3_amd64.deb) ...
  Unpacking replacement traceroute ...
  Preparing to replace wget 1.11.4-4 (using .../archives/wget_1.12-1_amd64.deb) ...
  Unpacking replacement wget ...
  Preparing to replace whiptail 0.52.10-4 (using .../whiptail_0.52.10-4.1_amd64.deb) ...
  Unpacking replacement whiptail ...
  Preparing to replace gcc-4.3-base 4.3.4-4 (using .../gcc-4.3-base_4.3.4-5_amd64.deb) ...
  Unpacking replacement gcc-4.3-base ...
  Preparing to replace libdevmapper1.02.1 2:1.02.38-1 (using .../libdevmapper1.02.1_2%3a1.02.38-2_amd64.deb) ...
  Unpacking replacement libdevmapper1.02.1 ...
  Preparing to replace procps 1:3.2.8-1.2 (using .../procps_1%3a3.2.8-2_amd64.deb) ...
  Unpacking replacement procps ...
  Processing triggers for man-db ...
  Processing triggers for install-info ...
  Setting up udev (146-5) ...
  Installing new version of config file /etc/init.d/udev ...
  A chroot environment has been detected, udev not started.
  Setting up dhcp3-common (3.1.3-1) ...
  Setting up dhcp3-client (3.1.3-1) ...
  Setting up libnewt0.52 (0.52.10-4.1) ...
  Setting up libpopt0 (1.15-1) ...
  Setting up module-init-tools (3.11-1) ...
  Installing new version of config file /etc/init.d/module-init-tools ...
  Setting up rsyslog (4.4.2-1) ...
  Setting up traceroute (2.0.12-3) ...
  update-alternatives: using /usr/bin/traceroute.db to provide /usr/bin/traceroute (traceroute) in auto mode.
  update-alternatives: using /usr/bin/tracert.db to provide /usr/bin/tracert (tracert) in auto mode.
  update-alternatives: using /usr/bin/traceroute6.db to provide /usr/bin/traceroute6 (traceroute6) in auto mode.
  update-alternatives: using /usr/bin/lft.db to provide /usr/bin/lft (lft) in auto mode.
  update-alternatives: using /usr/bin/tcptraceroute.db to provide /usr/bin/tcptraceroute (tcptraceroute) in auto mode.
  update-alternatives: using /usr/bin/traceproto.db to provide /usr/bin/traceproto (traceproto) in auto mode.
  update-alternatives: using /usr/bin/traceroute-nanog.db to provide /usr/bin/traceroute-nanog (traceroute-nanog) in auto mode.
  Setting up wget (1.12-1) ...
  Installing new version of config file /etc/wgetrc ...
  Setting up whiptail (0.52.10-4.1) ...
  Setting up gcc-4.3-base (4.3.4-5) ...
  Setting up libdevmapper1.02.1 (2:1.02.38-2) ...
  Setting up procps (1:3.2.8-2) ...
  Installing new version of config file /etc/sysctl.conf ...
0m15.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', '-yf', 'upgrade']
0m15.5s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', 'clean']
0m15.5s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', 'clean']
0m15.5s DEBUG: Copying scriptsdir to /org/piuparts.debian.org/tmp/tmppFHiXB/tmp/scripts/
0m16.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'dpkg', '--get-selections', '*']
0m16.3s DUMP: 
  adduser						install
  apt						install
  apt-utils					install
  aptitude					install
  base-files					install
  base-passwd					install
  bash						install
  bsdmainutils					install
  bsdutils					install
  coreutils					install
  cpio						install
  cron						install
  dash						install
  debconf						install
  debconf-i18n					install
  debian-archive-keyring				install
  debianutils					install
  dhcp3-client					install
  dhcp3-common					install
  diffutils					install
  dmidecode					install
  dpkg						install
  e2fslibs					install
  e2fsprogs					install
  ed						install
  findutils					install
  gcc-4.2-base					install
  gcc-4.3-base					install
  gcc-4.4-base					install
  gnupg						install
  gpgv						install
  grep						install
  groff-base					install
  gzip						install
  hostname					install
  ifupdown					install
  info						install
  initscripts					install
  insserv						install
  install-info					install
  iproute						install
  iptables					install
  iputils-ping					install
  libacl1						install
  libattr1					install
  libblkid1					install
  libbz2-1.0					install
  libc-bin					install
  libc6						install
  libcomerr2					install
  libcwidget3					install
  libdb4.7					install
  libdb4.8					install
  libdevmapper1.02.1				install
  libept0						install
  libgcc1						install
  libgdbm3					install
  liblocale-gettext-perl				install
  libncurses5					install
  libncursesw5					install
  libnewt0.52					install
  libpam-modules					install
  libpam-runtime					install
  libpam0g					install
  libpopt0					install
  libreadline5					install
  libreadline6					install
  libselinux1					install
  libsepol1					install
  libsigc++-2.0-0c2a				install
  libslang2					install
  libss2						install
  libssl0.9.8					install
  libstdc++6					install
  libtasn1-3					install
  libtext-charwidth-perl				install
  libtext-iconv-perl				install
  libtext-wrapi18n-perl				install
  libunwind7					install
  libusb-0.1-4					install
  libuuid1					install
  libvolume-id1					install
  libwrap0					install
  libxapian15					install
  login						install
  logrotate					install
  lsb-base					install
  lzma						install
  man-db						install
  manpages					install
  mawk						install
  module-init-tools				install
  mount						install
  nano						install
  ncurses-base					install
  ncurses-bin					install
  net-tools					install
  netbase						install
  netcat-traditional				install
  passwd						install
  perl-base					install
  procps						install
  readline-common					install
  rsyslog						install
  sed						install
  sensible-utils					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tasksel						install
  tasksel-data					install
  traceroute					install
  tzdata						install
  udev						install
  util-linux					install
  vim-common					install
  vim-tiny					install
  wget						install
  whiptail					install
  zlib1g						install
0m16.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'dpkg', '--get-selections', '*']
0m16.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', '-y', 'install', 'mpich2-doc']
0m16.8s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    mpich2-doc
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 1077kB of archives.
  After this operation, 3654kB of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    mpich2-doc
  Authentication warning overridden.
  Err http://piatti.debian.org sid/main mpich2-doc 1.2-2
    Something wicked happened resolving 'piatti.debian.org:http' (-5)
  Failed to fetch http://piatti.debian.org/debian/pool/main/m/mpich2/mpich2-doc_1.2-2_all.deb  Something wicked happened resolving 'piatti.debian.org:http' (-5)
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
0m16.8s ERROR: Command failed (status=100): ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'apt-get', '-y', 'install', 'mpich2-doc']
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following NEW packages will be installed:
    mpich2-doc
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 1077kB of archives.
  After this operation, 3654kB of additional disk space will be used.
  WARNING: The following packages cannot be authenticated!
    mpich2-doc
  Authentication warning overridden.
  Err http://piatti.debian.org sid/main mpich2-doc 1.2-2
    Something wicked happened resolving 'piatti.debian.org:http' (-5)
  Failed to fetch http://piatti.debian.org/debian/pool/main/m/mpich2/mpich2-doc_1.2-2_all.deb  Something wicked happened resolving 'piatti.debian.org:http' (-5)
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  
0m16.8s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'umount', '/proc']
0m16.8s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmppFHiXB', 'umount', '/proc']
0m17.3s DEBUG: Removed directory tree at /org/piuparts.debian.org/tmp/tmppFHiXB

End: 2009-10-19 17:09:39 UTC

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: