On each boot, /etc/init.d/domainname overwrites my /etc/resolv.conf, changing from: nameserver 1.2.3.4 nameserver 1.2.3.5 domain my.domain.com search my.domain.com myother.domain.com your.domain.com to: nameserver 1.2.3.4 nameserver 1.2.3.5 search my.domain.com myother.domain.com your.domain.com domain my.domain.com When this happens, the resolver totally ignores the contents of the "search" line. Reproducible: Always Steps to Reproduce: 1. reboot machine (or otherwise run /etc/init.d/domainname) 2. attempt to access host(.your.domain.com -- not using FQDN) -- FAILURE 3. transpose the "search" and "domain" lines in /etc/resolv.conf 4. attempt to access host(.your.domain.com -- not using FQDN) -- SUCCESS Actual Results: Failure to resolve host when "search" comes before "domain" Expected Results: Host should've resolved. Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-ck2-r1-sfk i686) ================================================================= System uname: 2.6.12-ck2-r1-sfk i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O1 -minline-all-stringops -frename-registers -finline-functions -mno-align-stringops -fsched-spec -fno-delayed-branch -fdelete-null-pointer-checks -fno-omit-frame-pointer -fno-if-conversion2 -falign-jumps -falign-loops -fno-math-errno -fcaller-saves -frerun-loop-opt -maccumulate-outgoing-args -fno-defer-pop -fno-trapping-math -fpeephole2 -fsched-interblock -foptimize-sibling-calls -falign-labels -fno-signaling-nans -fprefetch-loop-arrays -fstrength-reduce -freduce-all-givs -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O1 -minline-all-stringops -frename-registers -finline-functions -mno-align-stringops -fsched-spec -fno-delayed-branch -fdelete-null-pointer-checks -fno-omit-frame-pointer -fno-if-conversion2 -falign-jumps -falign-loops -fno-math-errno -fcaller-saves -frerun-loop-opt -maccumulate-outgoing-args -fno-defer-pop -fno-trapping-math -fpeephole2 -fsched-interblock -foptimize-sibling-calls -falign-labels -fno-signaling-nans -fprefetch-loop-arrays -fstrength-reduce -freduce-all-givs -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X Xaw3d alsa avi bash-completion bdf berkdb bitmap-fonts bzip2 bzlib cddb crypt cups dga emboss encode erandom exif expat fam ffmpeg fftw foomaticdb freetype gd gif gmp gpm gtk gtk2 imap imlib imlib2 ithreads java javascript jce jikes jp2 jpeg ldap libg++ libwww lzo lzw lzw-tiff mad mikmod mmap mmx mmx2 mmxext mng mozilla mozsvg mp3 mpeg mpi ncurses nis no-old-linux nodrm nojoystick noplugin nptl nptlonly ogg oggvorbis opengl pam pdflib perl pic pie png python qt quicktime readline samba sdl shared sharedmem spell sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts unicode usb vorbis wmf xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Looks like it's a duplicate of bug 70690...
Dangit... I have no idea why that didn't turn up when I searched. This is, indeed, a duplicate of bug #70690. I am closing it. *** This bug has been marked as a duplicate of 70690 ***