1. pulseaudio ebuild should not do keepdir /var/run/pulse. 2. afaik user 'pulse', and groups 'pulse', 'pulse-access' are only needed if USE=system-wide. So enewuser and enewgroup shouldn't be done unconditionally. Reproducible: Always
Also home dir for user 'pulse' should be moved from /var/run/pulse
this is not a regression over current stable
Fixed in 2.99.3.
This bug is not completely fixed. 1. State dir should be created by init.d script. Something like this could be added to it: checkpath -q -d -m 0755 -o pulse:pulse /var/run/pulse 2. This strings should be removed from ebuild. They are useless without deleted 'keepdir /var/run/pulse'. # Create the state directory use prefix || diropts -o pulse -g pulse -m0755
Created attachment 333324 [details, diff] pulseaudio.init.d-5.patch
Created attachment 333328 [details, diff] pulseaudio-3.0.ebuild.patch
Created attachment 333374 [details, diff] pulseaudio-3.0.ebuild.patch Or maybe it would be better to create home dir for pulse user in /var/lib/pulse? Then pulseaudio state files will be persistent across reboots (not sure is this really needed). In this case patch for init.d script is not needed.
(In reply to comment #7) > In this case patch for init.d script is not needed. Hmm.. No, this is not true. pid file is created in /var/run/pulse, so patch for init.d script is still needed.
Fixed in 4.99.4