Bug 177902

Summary: Callbootd segfaults when connecting to nonexistent server
Product: Red Hat Enterprise Linux 4 Reporter: Jan Lieskovsky <jlieskov>
Component: bootparamdAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-17 06:35:11 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 Jan Lieskovsky 2006-01-16 11:45:23 UTC
Description of problem:

Callbootd results in segmentation fault when trying to connect
to localhost nonexistent bootparamd server

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

bootparamd-0.17-21.RHEL4.* and older versions

How reproducible:

Always

Steps to Reproduce:
1.# service bootparamd status
  #   
  (this blank field means, that bootparamd was never run on this host) 
2.# ifconfig

          eth0      Link encap:Ethernet  HWaddr 00:09:6B:1A:43:18
          inet addr:192.168.5.106  Bcast:192.168.5.255  Mask:255.255.255.0
          . . .
3. callbootd `hostname` 192.168.5.106
  
Actual results:

Segmentation fault

Expected results:

Whoami returning:
Null answer!!!
Bad answer returned from server tennyson.z900.redhat.com 


Additional info:

The same behaviour can be seen on RHEL-3.