When the option PEERDNS is "yes" in /etc/conf.d/net.ppp0, the file /etc/resolv.conf is written with 640 permissions, owner=root and group=root. This block normal users from name resolution. * Temporary workaround: set PEERDNS="no" in /etc/conf.d/net.ppp0 and set manually the file /etc/resolv.conf * Definitive fix: Make sure the script that changes /etc/resolv.conf doesn't change the group, or that the script change the written group to users. Reproducible: Always Steps to Reproduce:
There are some side-effects or symptoms when having such a broken dialup connection: * Neither dig, host, nslookup nor ping say that it can't access /etc/resolv.conf. Rather it just fail, either with timeouts or with messages like 'can't resolve foo.com'... Should these effects be filed in one bug for each program? Well, I don't know exactly how this part of the name resolution works, but it should say that it can't access /etc/resolv.conf I think that very possibly the name resolution takes place inside the kernel, so here is my 'emerge info': Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 Intel(R) Celeron(TM) CPU 1066MHz Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" CHOST="i486-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi alsa apache2 apm avi berkdb bonobo crypt cups directfb doc dvd encode esd flash foomaticdb freetds gdbm ggi gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imlib joystick jpeg kerberos libg++ libgda libwww lirc mad md5sum mdb mikmod mmx motif mozilla mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres ppds python quicktime readline samba sdl slang spell sqlite sse ssl svga tcltk tcpd truetype unicode wxwindows x86 xml xml2 xmms xv zlib"
fixed in rc-scripts cvs
okay, baselayout-1.9.0 is in portage