Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-25-2005, 06:56 PM   #1
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
resolvconf bug?

i have a friend who's having a very strange problem. he has his linux box (debian sarge) configured with a static ip and everything in its proper place in /etc/network/interfaces. it's been working well for more than a year. all of a sudden though, resolvconf won't properly regenerate /etc/resolv.conf after a reboot. normally resolvconf takes the input and generates /etc/resolv.conf as a symlink to another file which is /etc/resolvconf/run/resolv.conf or something like that. in this case, when he reboots his machine /etc/resolv.conf is empty. (everything else works ok, he can ping hosts from his /etc/hosts.conf file alright, but outside name lookups time out).

here's where it gets very strange - if he manually brings the interface down and back up, everything works fine: /etc/resolv.conf is properly generated and name resolution works. so this is only a problem when the computer has to reboot. strange huh?

we're figuring there must be some problem with resolvconf, but does anyone have any thoughts?
Old 07-25-2005, 08:41 PM   #2
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
Never used debian, but this sounds like a file permission issue.

How are you running 'resolvconf' vs how are you bringing the IF up and down, using ifconfig?
Check the permissions of /etc/resolv.conf, and compare that to who is trying to access/edit the file.
Old 07-25-2005, 10:54 PM   #3
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Original Poster
Rep: Reputation: 33
well see resolvconf is automatically used (by debian i guess) as you can see from the /etc/network/interfaces file:

# The primary network interface
auto eth0
iface eth0 inet static
address 72.25.X.X
gateway 72.25.X.X
# dns-* options are implemented by the resolvconf package, if installed

and i've seen similar contents from google searches. so i guess resolvconf is supposed to handle everything automatically. i'm inclined to believe the permissions are ok, since it was working well in the past. he brings the network interface up using ifdown and ifup. and since doing that solves the problem, again, i'm inclined to believe the permissions are ok.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this a bug???? CruelEssence Debian 1 06-17-2005 01:11 AM
Possible bug MBH LQ Suggestions & Feedback 3 01-21-2005 11:12 AM
Free86 bug or nVidia bug?? ProtoformX Linux - Software 2 05-12-2004 03:38 AM
Is it a bug? swmok Debian 1 04-26-2004 05:26 PM
Bug in vi? ivanatora Slackware 4 10-23-2003 03:57 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration