Bug 15192

Summary: pump writes empty search line in /etc/resolv.conf
Product: [Retired] Red Hat Linux Reporter: Bert de Bruijn <bob>
Component: pumpAssignee: Erik Troan <ewt>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: bsmith3
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-05 22:57:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Bert de Bruijn 2000-08-02 23:39:26 UTC
on a system without /etc/pump.conf, pump-0.7.11-2 inserts a 
line in /etc/resolv.conf without additional arguments. The
line is inserted correctly. The stock redhat 6.2 pump does the right thing:
search myown.net

NB. the dhcp server is an up-to-date sparc32 rawhide machine. Relevant
config entries in /etc/dhcpd.conf there:
option domain-name "myown.net";
option domain-name-servers;

syslog messages indicate that pump receives the correct domainname from the
server, but it isn't used in /etc/resolv.conf.

Comment 1 Bert de Bruijn 2000-08-03 12:52:05 UTC
the pump client works on the same pinstripe machine on a network with a (debian)
dhcp-2.2.x server. Same result with dhcp-2.0.x from the same debian package. 
The /etc/resolv.conf file on the client contains the right info then.

Comment 2 Erik Troan 2000-08-05 13:53:11 UTC
When it fails, what does "pump --status" say?

Comment 3 Bert de Bruijn 2000-08-05 15:46:02 UTC
[root@cornelius /root]# pump --status
Device eth0
        Boot server
        Next server
        Domain: kot.net
        Renewal time: Sat Aug  5 18:47:03 2000
        Expiration time: Sat Aug  5 19:02:03 2000
[root@cornelius /root]# cat /etc/resolv.conf 

Comment 4 Bert de Bruijn 2000-08-05 22:57:30 UTC
bug #15522 provides the explanation for this bug. 
kot.net is discarded by pump, but kot.com is not, and my.kot.net isn't either.

Comment 5 Erik Troan 2000-08-07 21:51:23 UTC
Fixed in pump-0.8.1