Bug 182059

Summary: authd delays responses if ipv6 is not activated
Product: [Fedora] Fedora Reporter: Tarhon-Onu Victor <lsmituc>
Component: authdAssignee: Martin Stransky <stransky>
Status: CLOSED NOTABUG QA Contact:
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-02-20 14:38:16 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 Tarhon-Onu Victor 2006-02-19 22:33:25 UTC
Description of problem:
Authd fails to answer immediately to queries of IPv6 is not active on the local
machine.

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


How reproducible: always


Steps to Reproduce:
1. deactivate authd from xinetd and strace it: strace in.authd -d
2. type, say, 110:110 (it's an inet daemon so it works with stdin and stdout);
3. look now hard is it trying to read from /proc/net/tcp6!!
  
Actual results:
Because it tries (so hard) to read /proc/net/tcp6 it fails to deliver the answer
quick.

Expected results:
it should answer at once, so that the services using ident do not have to wait
3-4 seconds for an answer.

Additional info:

Comment 1 Martin Stransky 2006-02-20 14:38:16 UTC
You can configure this behavior in config.h. There isn't any difference if you
have/don't have /proc/net/tcp6....