Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111829

Summary: network connection does not work when boote from the live cd AND chrooted to /mnt/gentoo
Product: Gentoo Release Media Reporter: Adriano <adriano>
Component: EverythingAssignee: Gentoo Release Team <releng>
Status: VERIFIED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adriano 2005-11-07 16:51:52 UTC
When booted from the Live CD, I reach the phase where I should emerge genkernel to compile my kernel 
and the emerging does not work because it's not able to resolve domain names. The network WORKS if I 
exit the chrooted enviroinment (I can successfully ping several web sites). It stops again if I chroot again.



Reproducible: Always
Steps to Reproduce:
1. insert the cd and boot from it
2. correctly set the system date 
3. mount -t proc none /mnt/gentoo/proc (I don't know wether thi sis relevant or not)
4. chroot /mnt/gentoo /bin/bash
5. emerge genkernel OR ping any internet address

Actual Results:  
Nothing. I gave up. I couldn't go on. i can't configure the kernel compilation myself

Expected Results:  
It should have connected to the net and let me emerge genkernel

I used the Ubuntu Live CD in order to perform theese steps and it worked. But in the end, the installed 
system doesn't connect to the net again
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2005-11-07 16:56:55 UTC
You apparently missed the part of the install guide where it says to 'cp -L
/etc/resolv.conf /mnt/gentoo/etc/resolv.conf' in order to copy the
/etc/resolv.conf from the LiveCD into the chroot before chroot'ing.
Comment 2 Adriano 2005-11-08 03:20:41 UTC
(In reply to comment #1)
> You apparently missed the part of the install guide where it says to 'cp -L
> /etc/resolv.conf /mnt/gentoo/etc/resolv.conf' in order to copy the
> /etc/resolv.conf from the LiveCD into the chroot before chroot'ing.

No, I did not miss that part. I copied the dns configuration to /mnt/gentoo/etc/resolve.conf indeed !

I also took care to cat /etc/resolve.conf in a consolle AND to cat /mnt/gentoo/etc/resolve.conf in another. 
And they were equal.

Could you reproduce the bug ?
Comment 3 Brent Baude (RETIRED) gentoo-dev 2005-11-08 06:51:45 UTC
Could you also verify that you were working with /etc/resolv.conf and not
/etc/resolve.conf as noted below?  I always mistype that filename...
Comment 4 Adriano 2005-11-08 10:07:16 UTC
(In reply to comment #3)
> Could you also verify that you were working with /etc/resolv.conf and not
> /etc/resolve.conf as noted below?  I always mistype that filename...

Ranger,

yes, I have to apologize. You made a point ! I had copied /etc/resolv.conf to /mnt/gentoo/etc/
resolve.conf (notice the final "e" :-(  )

I'm sorry for having signaled this bug but I was really sure ! I checked several times alway blindly hitting 
tab for name completing of both /etc/resolv.conf AND /mnt/gentoo7etc/resolve.conf

So when I spelled it wrong the first time, I kept not noticing the e !

I'm sorry !

Now it works ! I think this is closed...