Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129266 - resolvconf-gentoo fails to update resolv.conf
Summary: resolvconf-gentoo fails to update resolv.conf
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Roy Marples (RETIRED)
Depends on:
Reported: 2006-04-08 11:03 UTC by Chris Torske
Modified: 2006-04-10 04:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Chris Torske 2006-04-08 11:03:26 UTC
resolvconf-gentoo doesn't update the resolv.conf file (after it was been correctly relinked to the proper place according the ebuild info and instructions).  Since it doesn't update the resolv.conf, it ends up being a empty file, with no nameserver information.  I have my network cards (2 eth cards) configured for static ip's, set to 1 gateway address.  I ended up booting on a boot cd to remove the resolvconf-gentoo, baselayout-1.12.0_pre17, and fix my resolv.conf file.
Comment 1 Chris Torske 2006-04-08 11:03:39 UTC
Portage 2.1_pre7-r4 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo x86_64)
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=k8 -O3 -pipe -floop-optimize2 -fno-omit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -floop-optimize2 -fno-omit-frame-pointer"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
USE="amd64 X X509 Xaw3d a52 aac alsa apache2 arts async automount avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 cairo cdr cli crypt ctype cups dba dbus dga djbfft djvu dlloader doc dri dts dvd dvdread dvi dxr3 eds emboss encode esd examples exif expat fastbuild ffmpeg firefox flac fltk foomaticdb force-cgi-redirect fortran ftp gd gdbm ggi gif glitz gnome gnutls gpgme gpm graphviz gs gstreamer gtk gtk2 hal imagemagick imlib isdnlog java javascript jpeg jpeg2k kde kerberos krb4 lcms lesstif libedit lirc logrotate lzo lzw lzw-tiff mad mailwrapper md5sum memlimit mng mono motif mozdevelop mozilla mp3 mpeg musepack musicbrainz mysql mysqli nautilus ncurses neXt nfs nls nntp nptl nsplugin ntpl nvidia ogg openal openexr opengl oss pam pcntl pcre pdflib perl php physfs png posix ppds pppd pwdb python qt qt4 quicktime readline rle rtc samba sdk sdl session simplexml smime sndfile soap sockets source speex spell spl sql sqlite ssl symlink syslog t1lib tcltk tcpd tetex theora threads tidy tiff timidity tokenizer toolbar tools truetype truetype-fonts type1-fonts unicode urandom usb v4l v4l2 vorbis winbind xcomposite xine xml xml2 xmldoclet xmlreader xmlrpc xmlwriter xmms xpm xprint xscreensaver xsl xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_US userland_GNU video_cards_nvidia video_cards_glint video_cards_v4l"
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-04-08 11:53:44 UTC
What does resolvconf -l report? And post the contents of /etc/resolvconf/run/interfaces.
Comment 3 Chris Torske 2006-04-08 13:36:01 UTC
the interfaces file was empty, and the resolvconf -l displayed nothing
Comment 4 Chris Torske 2006-04-08 13:40:08 UTC
also the resolvconf -i also displayed nothing either.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2006-04-09 02:16:06 UTC
Which dhcp client and what version are you using?
Comment 6 Chris Torske 2006-04-09 04:56:10 UTC
I use static ip address for my network cards, so dhcp isn't involved.  When I had dynamic ip; I was using dhcpcd-2.0.4.

Here's my /etc/conf/net file contents
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "" )
config_eth1=( "" )
routes_eth0=( "default via" )
Comment 7 Roy Marples (RETIRED) gentoo-dev 2006-04-09 06:54:40 UTC
Could you test with another dhcp client please? Try pump-0.8.21-r9 as it doesn't install any files in /etc
Comment 8 Chris Torske 2006-04-09 12:23:22 UTC
well, when I was using static ip's; it still would not configure anything in resolv.conf, nor output anything from the outputs from resolconf -i and resolvconf -l.

When I switched one of my network cards to use pump, it would work for that network card only.  Meaning I had to turn off my other network card just to get any kind of network.  This is the main reason why I switched over from using dynamic ip address to static ip address; as the system gets screwed up when it sees there is 2 different gateways available.
Comment 9 Roy Marples (RETIRED) gentoo-dev 2006-04-09 13:03:18 UTC
(In reply to comment #8)
> well, when I was using static ip's; it still would not configure anything in
> resolv.conf, nor output anything from the outputs from resolconf -i and
> resolvconf -l.

Static ip's won't configure resolv.conf for you. However, you can do this.


Is dhcpcd actually working then? Remove /var/lib/dhcpc/ and re-run dhcpcd and check if the file is replaced. If so, attach it here please.
Comment 10 Chris Torske 2006-04-10 04:26:01 UTC
Well, dhcpcd works, and reconfigures the resolv.conf file.  So I guess it, it more likly an error on me; so I am going to go ahead and close it.  Thx for helping me check to be sure.