<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:zbyszek@in.waw.pl" title="Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>"> <span class="fn">Zbigniew Jedrzejewski-Szmek</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Custom xbmc.service starts x-session and xbmc before pulseaudio is fully initialized"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82447">bug 82447</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Custom xbmc.service starts x-session and xbmc before pulseaudio is fully initialized"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82447#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Custom xbmc.service starts x-session and xbmc before pulseaudio is fully initialized"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82447">bug 82447</a>
              from <span class="vcard"><a class="email" href="mailto:zbyszek@in.waw.pl" title="Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>"> <span class="fn">Zbigniew Jedrzejewski-Szmek</span></a>
</span></b>
        <pre>There's actually no expectation that systemd-user-sessions.service
network.target sound.target are in any way related to all devices being found
and initialized. sound.target is closest, but it does not say anything about
all devices being initialized, it's just automatically pulled in when at least
one device was found (see systemd.special(7)). It is useless for your purpose.

Pulseaudio is prepared for devices to come and go. So pulseaudio being
initialized only means that it is ready to accept connections, not that
specific hardware is ready. (For example, I have a USB sound card. Sometimes it
falls out when I pull on the cable. There's no point in time that devices are
initialized. As soon as I plug it back in, pulseaudio let's me use it again.)

So if you know that there's a specific list of devices that xmbc should wait
for, you can add specific dependencies on those devices, using systemd
dependencies, or use pulseaudio-specific mechanism to enumerate cards or
something. But this is a purely local configuration thing. We can't really help
with that.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>