BTS

Issue777

Title grml-debootstrap, DNS resolving failure
Priority bug Status resolved
Superseder Nosy List suntong
Assigned To Topics

Created on 2009-11-21.18:32:00 by suntong, last changed 2010-01-27.15:17:18 by suntong.

Files
File name Uploaded Type Edit Remove
unnamed suntong, 2009-11-21.18:31:57 text/html
Messages
msg2862 (view) Author: suntong Date: 2010-01-27.15:17:17
The new git version doesn't exhibit such behaviour.
msg2768 (view) Author: suntong Date: 2009-11-22.04:59:59
> Works for me: . . . 

Then it might be something wrong with my mounted chroot environment. I'll retest
in a cleanly rebooted environment and see...

thanks

PS. Have to set a priority, otherwise will get:
"Required issue property priority not supplied"
msg2764 (view) Author: mru Date: 2009-11-21.19:26:24
On Saturday 21 November 2009 19:32:00 Tong Sun 
wrote:

> [ grml-debootstrap could not resolve hosts ] 
> Ie, whenever it needs to install from the 
internet, it fails.
> 
> I then chroot into it myself, and do 'apt-get 
install'. Everything works
> fine. 

Ok, this should not work as apt-get couldn't get the 
package list. Did you run apt-get update yourself?

> When invoking grml-debootstrap again, the same 
problem occurs again.

As far as I can see there is nothing done in the 
chroot wrt to resolving except copying 
/etc/resolv.conf from the host system.
IMO the problem seems to be something else, e.g. 
network not accessible, dns server not accessible, 
dns server down or something like that.

> Please verify.

Works for me:

   Executing stage kernel
Writing extended state information... Done
Hit http://ftp.at.debian.org lenny Release.gpg
Hit http://ftp.at.debian.org lenny Release
Ign http://ftp.at.debian.org lenny/main 
Packages/DiffIndex
Get:1 http://ftp.at.debian.org lenny/contrib 
Packages [86.8kB]
Get:2 http://ftp.at.debian.org lenny/non-free 
Packages [107kB]
Hit http://ftp.at.debian.org lenny/main Packages  
Fetched 194kB in 0s (285kB/s)   
Reading package lists... Done             


Ulrich
msg2760 (view) Author: suntong Date: 2009-11-21.18:31:57
Hi,

I'm using the latest grml-debootstrap v0.32

$ apt-cache policy grml-debootstrap
grml-debootstrap:
  Installed: 0.32
  Candidate: 0.32
  Version table:
 *** 0.32 0
        683 http://deb.grml.org grml-testing/main Packages
        100 /var/lib/dpkg/status

and noticed its DNS resolving failure (v0.30 was working fine). Here are the
details:

 * Executing chroot-script now
   [*] Notice: stage install_policy_rcd has been executed already, skipping
execution therefore.
   Executing stage kernel
Writing extended state information... Done
Err http://deb.grml.org grml-testing Release.gpg
  Temporary failure resolving 'deb.grml.org'
Err http://debian.mirror.rafal.ca testing Release.gpg
  Temporary failure resolving 'debian.mirror.rafal.ca'
Err . . .
. . .
   Executing stage packages
Err http://security.debian.org testing/updates Release.gpg
  Temporary failure resolving 'security.debian.org'
Err . . .

Ie, whenever it needs to install from the internet, it fails.

I then chroot into it myself, and do 'apt-get install'. Everything works
fine. When invoking grml-debootstrap again, the same problem occurs again.

Please verify.

thanks
History
Date User Action Args
2010-01-27 15:17:18suntongsetstatus: deferred -> resolved
messages: + msg2862
2009-11-22 05:00:46suntongsetstatus: chatting -> deferred
2009-11-22 05:00:00suntongsetpriority: bug
messages: + msg2768
2009-11-21 19:26:26mrusetstatus: unread -> chatting
messages: + msg2764
2009-11-21 18:32:00suntongcreate