When pulseaudio-0.9.9 compiled without alsa, avahi, hal and bluetooth USE-flags, it places copy of /etc/conf.d/pulseaudio to /etc/init.d/pulseaudio and fails to start. Reproducible: Always Steps to Reproduce: USE="-alsa -avahi -hal -bluetooth" emerge pulseaudio cat /etc/init.d/pulseaudio
*** This bug has been marked as a duplicate of bug 263350 ***
> *** This bug has been marked as a duplicate of bug 263350 *** Are you sure? Init script itself is fine, there is error in the ebuild. From src_install: use alsa && neededservices="$neededservices alsasound" use avahi && neededservices="$neededservices avahi-daemon" use hal && neededservices="$neededservices hald" use bluetooth && neededservices="$neededservices bluetooth" (1) [[ -n ${neededservices} ]] && sed -e "s/@neededservices@/need $neededservices/" "${FILESDIR}/pulseaudio.init.d-2" > "${T}/pulseaudio" (2) doinitd "${T}/pulseaudio" If all use flags are unset, neededservices variable is empty and line (1) not executed. But line (2) still tries to install "${T}/pulseaudio", which contains conf.d file left from previous steps.
Right
Thanks for reporting, fixed now.