Summary: | In install chroot ping and wget work from command line but wget gets temporary dns failure in emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | R. David Murray <rdmurray> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
R. David Murray
2010-07-17 23:38:19 UTC
OK, after some debugging, I've figured out what my problem was. I operate with a default umask that does not make files world readable, and so when I copied /etc/resolv.conf from the main system into the chroot directory, it ended up not world readable. This isn't a problem for most things, since the file is owned by root and I'm operating as root in the chroot. But portage drops privileges before doing the fetch, so at that point it loses access to /etc/resolv.conf and thus the internet. It would be nice if glibc produced a more useful error message in this circumstance, but it's not Gentoo's problem. |