Bug 53076 - Unable to retrieve dhcp nameserver information
Unable to retrieve dhcp nameserver information
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.3
i386 Linux
high Severity high
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-09-03 06:56 EDT by Leonid Kanter
Modified: 2014-03-16 22:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-09-04 09:13:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Leonid Kanter 2001-09-03 06:56:41 EDT
Description of Problem:

After "ifup eth0" nameserver line in /etc/resolv.conf is broken

Version-Release number of selected component (if applicable):

initscripts-6.34-1

How Reproducible:

always


How it happens:

[root@leon leon]# /sbin/ifup eth0
oPREDELQETSQ INFORMACIQ IP DLQ eth0... GOTOWO. (Russian :)
[root@leon leon]# grep nameserver /etc/resolv.conf
nameserver 19
[root@leon leon]# killall dhcpcd
[root@leon leon]# dhcpcd[root@leon leon]# grep nameserver /etc/resolv.conf
nameserver 193.178.236.130
nameserver 193.178.236.131
nameserver 213.130.10.10

Additional information: DHCP server 2.0pl5-4
Comment 1 Bill Nottingham 2001-09-03 09:07:30 EDT
Just to confirm, you are using dhcpcd?
Comment 2 Leonid Kanter 2001-09-03 09:58:32 EDT
Yes. I'm unable to reproduce this problem after system reboot - now everything
is OK. Described situation happened when I changed IP information from static to
DHCP and tried ifdown/ifup without reboot.
Comment 3 Bill Nottingham 2001-09-03 20:37:08 EDT
What did your resolv.conf look like when it was static?
Comment 4 Bill Nottingham 2001-09-03 20:38:17 EDT
(I can't reproduce this switching from a static to a dynamic IP address here.
Comment 5 Leonid Kanter 2001-09-04 09:13:36 EDT
During installation I configured the box for using 192.168.200.1. Now I have
following:

[leon@leon leon]$ vdir /etc/resolv.*   
-rw-r--r--    1 root     root          144 sEN  3 14:00 /etc/resolv.conf
-rw-r--r--    1 root     root           44 sEN  1 15:23 /etc/resolv.conf.bak
-rw-r--r--    2 root     root           41 sEN  3 12:29 /etc/resolv.conf.sv
[leon@leon leon]$ grep nameserver /etc/resolv.conf.bak /etc/resolv.conf.sv     
/etc/resolv.conf.bak:nameserver 192.168.200.1
/etc/resolv.conf.sv:nameserver 19
BTW, I'm still unable to reproduce described situation.
Comment 6 Bill Nottingham 2002-01-24 01:31:17 EST
I don't see anything in initscripts that writes ".sv" files, so I'm going to
close this (since you also said you couldn't reproduce it.)
Comment 7 Leonid Kanter 2002-01-24 01:38:24 EST
Yes, I'm unable to reproduce. May be closed

Note You need to log in before you can comment on or make changes to this bug.