Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 481504

Summary: media-sound/pulseaudio-4.0: /etc/dbus-1/system.d/pulseaudio-system.conf should be installed only when system-wide USE is enabled
Product: Gentoo Linux Reporter: Coacher <itumaykin+gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info pulseaudio

Description Coacher 2013-08-18 01:28:13 UTC
I've installed pulseaudio-4.0 recently and after that I noticed that the following message shows up on my tty upon every boot during dbus service launch:

    Unknown username "pulse" in message bus configuration file

Pulseaudio and the rest of the system works fine. It seems that this message is caused by /etc/dbus-1/system.d/pulseaudio-system.conf file which contains:

<busconfig>

  <!-- System-wide PulseAudio runs as 'pulse' user. This fragment is
       not necessary for user PulseAudio instances. -->

  <policy user="pulse">
    <allow own="org.pulseaudio.Server"/>
  </policy>

</busconfig>

This file is unnecessary when system-wide USE is disabled (my case) and causes warning as there is no pulse user in such setup. That's why it shouldn't be installed.

Reproducible: Always
Comment 1 Coacher 2013-08-18 01:28:47 UTC
Created attachment 356346 [details]
emerge --info pulseaudio
Comment 2 Coacher 2013-08-18 01:30:22 UTC
Part of rc.log with the warning:

rc default logging started at Sun Aug 18 05:11:59 2013

 * Starting acpid ...
 [ ok ]
 * Starting D-BUS system messagebus ...
Unknown username "pulse" in message bus configuration file
 [ ok ]
 * Starting ConsoleKit daemon ...
 [ ok ]
 * Setting up kdm ...
 [ ok ]
Comment 3 Coacher 2013-08-18 01:35:37 UTC

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