Bug 546956

Summary: asyncns timeout causes delay when pulseaudio service not running and ipv6 is disabled
Product: [Fedora] Fedora Reporter: T-Gergely <kelevel+redhat>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: ajax, lkundrak, lpoetter
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: 2010-03-22 15:09:38 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 T-Gergely 2009-12-12 21:06:55 UTC
Description of problem:

I've given up on pulseudio, so I erased it. Evertything (but the dull gnome event sounds) works, but when running gstreamer based apps (eg. gst-mixer, totem, etc.), I get a more than noticable delay, plus the error message socket(): A protokoll nem támogatja ezt a címcsaládot (EN:socket(): Address family not supported by protocol.) Stracing gave me the idea it's because of /usr/lib/gstreamer-0.10/libgstpulse.so, so I chmod'ed that file to 000, and the delay is gone (of course I get an error because of not being able to load the shared library).

Version-Release number of selected component (if applicable):
gstreamer-plugins-good-0.10.16-4.fc11.i586
gst-mixer-2.26.0-3.fc11.i586

How reproducible:
Always.

Steps to Reproduce:
1. yum erase pulseaudio
2. reboot (if necessary, I don't know)
3. gst-mixer
  
Actual results:
socket error, delay

Expected results:
Instant starting.

Comment 1 T-Gergely 2010-03-21 15:49:59 UTC
Now that I upgraded to Fedora 12, not only gstreamer based programs have this "socket(): Address family not supported by protocol" problem, but other programs linked against libpulse. Since I have ipv6 disabled, I think this is the same issue I found at http://pulseaudio.org/ticket/752#comment:12. Compiling libpulsecommon-0.9.21.so with the patch at http://pulseaudio.org/attachment/ticket/752/pulseaudio.patch fixed this for me.

Comment 2 Lennart Poettering 2010-03-22 15:09:38 UTC
Then don't disable IPv6 in the kernel. The default kernel does not disable it.