<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>233789</bug_id>
          
          <creation_ts>2008-08-03 11:37 0000</creation_ts>
          <short_desc>media-sound/pulseaudio-0.9.11-r1: systemwide probably won&apos;t work</short_desc>
          <delta_ts>2008-08-09 22:14:28 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>galtgendo@o2.pl</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          <cc>boyerchen@gmail.com</cc>
    
    <cc>davidepesa@gmail.com</cc>
    
    <cc>Dessa@gmake.de</cc>

      

      
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2008-08-03 11:37:22 0000</bug_when>
            <thetext>Disclaimer: This report may be considered a bit offensive.

I haven&apos;t tested this ebuild yet, but AFAICT it is broken.
I&apos;ve been trying to get pulseaudio 0.9.11 running for the last few days,
learning differences between 0.9.10 and 0.9.11 and finally yesterday
I managed to get it to work (more or less).
First of all, system-wide won&apos;t work now, cause now it reads /etc/pulse/system.pa.
This file was missing in the initial 0.9.11 release. When it&apos;s missing,
daemon will simply quit, as it won&apos;t know which modules should be loaded.
Next problem is that (manpage is incorrect on that, author failed to update it)
now daemon now has exit-idle-time = 20 by default and system-wide obviously
needs -1.

There&apos;s also the fact, that while alsa-lib 1.0.17 is in the tree,
pulseaudio author advices to use it with his three patches, that got into
alsa-lib git.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidepesa@gmail.com</who>
            <bug_when>2008-08-03 11:52:22 0000</bug_when>
            <thetext>It doesn&apos;t work indeed.

pulseaudio[12730]: main.c: Daemon startup without any loaded modules, refusing to work.
main.c: Daemon startup failed.

Copying /etc/pulse/default.pa to /etc/pulse/system.pa solves the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidepesa@gmail.com</who>
            <bug_when>2008-08-03 12:45:56 0000</bug_when>
            <thetext>Also please note the following:

1) Non-fatal error at startup (using libtool-2.2.4):
ltdl-bind-now.c: Failed to find original dlopen loader.

2) Pulseaudio aborts on stop. It happened with 0.5.10 too.
core.c: Assertion &apos;pa_idxset_isempty(c-&gt;sinks)&apos; failed at pulsecore/core.c:166, function core_free(). Aborting.

3) The init script should be changed to parse /etc/pulse/system.pa instead of default.pa

4) If module-console-kit is requested to be loaded in system.pa, pulseaudio&apos;s init script should depend on consolekit, otherwise pulseaudio won&apos;t start.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2008-08-03 12:47:09 0000</bug_when>
            <thetext>The idle time is important too.
Unless you run something that make use of the sound card,
daemon will quit in 20s after it&apos;s run.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidepesa@gmail.com</who>
            <bug_when>2008-08-03 14:21:55 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; The idle time is important too.
&gt; Unless you run something that make use of the sound card,
&gt; daemon will quit in 20s after it&apos;s run.
&gt; 

Nope, on my machine pulseaudio doesn&apos;t quit even after long periods of inactivity (with no clients connected).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidepesa@gmail.com</who>
            <bug_when>2008-08-03 14:38:57 0000</bug_when>
            <thetext>Ignore my previous comment please. The 20-secs timer starts when the last client disconnects, so if you just start pulseaudio but don&apos;t use it, it&apos;ll stay running because the timer is never triggered.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chutzpah@gentoo.org</who>
            <bug_when>2008-08-03 18:06:55 0000</bug_when>
            <thetext>Ok, media-sound/pulseaudio-0.9.11-r2 is now in portage as well as media-libs/alsa-lib-1.0.17-r1 which should fix everything here except for the aborting on stop in comment #2, which I can&apos;t replicate. It would probably be a good idea to report that one upstream.

As to the non-fatal error, it appears to be a harmless warning.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>