Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24446 - xfree with ipv6 SmsGenerateClientID fails, leading to "...severely misconfigured" warning when starting kde
Summary: xfree with ipv6 SmsGenerateClientID fails, leading to "...severely misconfigu...
Status: RESOLVED DUPLICATE of bug 24445
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-14 04:21 UTC by fschneider
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fschneider 2003-07-14 04:21:07 UTC
xfree-4.3.0-r3 
 
error in  2000_all_4.3.0-ipv6-server.patch 
 
patched file: 
 
xc/lib/SM/sm_genid.c 
 
error: when ipv6 is enabled when building xfree, 
the function SmsGenerateClientID misinterpretes 
the return value of getaddrinfo, resulting in 
generating no ID. 
 
This leads to the "...is severely misconfigured" 
warning message from ksmserver when starting kde 
 
 
line 140: 
    if (getaddrinfo(hostname,NULL,NULL,&ai) != 0) { 
should be 
    if (getaddrinfo(hostname,NULL,NULL,&ai) == 0) { 
 

Reproducible: Always
Steps to Reproduce:
1. emerge xfree-4.3.0-r3 with USE="ipv6"  
2. start kde with startx  
 



I have only tested the SmsGenerateClientID sm_genid.c alone and with the correction 
it now generates an ID, but I didn't do a complete re-emerge of xfree with the patched line.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-14 04:55:36 UTC

*** This bug has been marked as a duplicate of 24445 ***