LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-25-2005, 06:56 PM   #1
mcd
Member
 
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
username17
Member
 
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
mcd
Member
 
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
netmask 255.255.255.0
network 72.25.87.0
broadcast 72.25.87.255
gateway 72.25.X.X
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 66.51.205.100 66.51.206.100
dns-search laurences.net


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.
 
  


Reply


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


All times are GMT -5. The time now is 07:45 AM.

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