Bug 35053

Summary: QA0404: pump ignores DHCP server supplied domain information.
Product: [Retired] Red Hat Linux Reporter: Eugene Kanter <ekanter>
Component: pumpAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-16 13:36:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eugene Kanter 2001-04-06 16:40:32 UTC
If reverse DNS fails, /etc/resolv.conf contains "search localdomain" 
despite the fact that DHCP server transmits domain record. This happends 
for both NT 4.0 and RH 6.2 based dhcp servers. I believe all pump versions 
up one in QA0404 behave this way.

To reproduce:

1. make sure that IP address supplied by DHCP server resolves to a valid 
hostname. Observe that /etc/resolv.conf contains "search validdomain" 
after system is booted.

2. remove the IP address from reverse DNS and from /etc/hosts. Observe 
that /etc/resolv.conf contains "search localdomain" or similar invalid 
record.

Comment 1 Eugene Kanter 2001-04-07 18:25:09 UTC
Seems like the problem lies in --lookup-hostname option. If specified, the 
DOMAIN send by a DHCP server gets IGNORED. Since usually both the DHCP and DNS 
servers on the network are maintained by the same organization/person the 
DOMAIN send by a DHCP server should never be ignored. The relevant code around 
line 1400 in dhcp.c should be changed.....


Comment 2 Elliot Lee 2001-09-11 22:00:03 UTC
pump deprecated in favor of dhcpcd

Comment 3 Eugene Kanter 2001-09-12 12:18:10 UTC
Has anybody verified that dhcpdcd does not exibit the same behavior?