Bug 190296

Summary: telnet should not use gethostbyname
Product: [Fedora] Fedora Reporter: Ulrich Drepper <drepper>
Component: telnetAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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-05-09 07:26:12 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:
Attachments:
Description Flags
Replace last two gethostbyname uses none

Description Ulrich Drepper 2006-04-30 17:33:59 UTC
Description of problem:
telnet still uses gethostbyname.  This can cause problems in IPv6 environments,
in part due to the way gethostbyname etc are implemented.

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

How reproducible:
always

Steps to Reproduce:
1.nm -D --undef /usr/bin/telnet | fgrep gethostbyname
2.
3.
  
Actual results:
                 U gethostbyname


Expected results:
No output

Additional info:
The attached mostly untested patch should fix it.  For real IPv6 support a lot
more work is needed.

Comment 1 Ulrich Drepper 2006-04-30 17:33:59 UTC
Created attachment 128417 [details]
Replace last two gethostbyname uses