Public bug reported:
Binary package hint: pulseaudio
I had pulseaudio configured to run as system daemon, which did not work
correctly.
So I stopped the daemon and tried to start it as user:
[EMAIL PROTECTED]:~$ pulseaudio
[..]
module.c: Failed to load module "module-esound-protocol-unix" (argument: ""):
initialization failed.
[..]
So I did only know that "module-esound-protocol-unix" did not work and
not why.
So I tried again with more logging:
[EMAIL PROTECTED]:~$ pulseaudio --log-level=debug
main.c: WARNING: called SUID root, but not in group 'pulse-rt'.
[..]
module-protocol-stub.c: Failed to create socket directory: Operation not
permitted
module.c: Failed to load module "module-esound-protocol-unix" (argument: ""):
initialization failed.
[..]
Ok, a directory could not be created, but which was not said.
So since it was the esd module it was not that difficult *for me* to
guess which:
[EMAIL PROTECTED]:~$ ll /tmp/.esd/
insgesamt 0
srwxrwxrwx 1 pulse pulse 0 2007-03-11 19:29 socket
So the socket in /tmp.esd belonged to user pulse and could not be overwritten
by my user.
So I deleted /tmp/.esd and pulseaudio started ok.
[EMAIL PROTECTED]:~$ sudo rm -rf /tmp/.esd/
[EMAIL PROTECTED]:~$ pulseaudio
main.c: WARNING: called SUID root, but not in group 'pulse-rt'.
alsa-util.c: device doesn't support 44100 Hz, changed to 48000 Hz.
sound-file.c: Failed to open file /usr/share/sounds/gtk-events/activate.wav
main.c: Failed to load sound file.
So here are at least 3 bugs involved:
* Not printing the error message that the socket file could not be written
without
modifying the debugging level
* Not printing the name of the file which could not be written
* Insisting on exclusive rights on a directory which should be writeable by
all users:
AFAIK all users need access to /tmp/.esd for esd programs to work correctly.
I must admit I don't know how esound compatibility is intended to work in a
multiuser scenario where serveral users start a pulseaudio daemon and need
esd compatibility since there is only a single esd socket dir and so only one
pulseaudio daemon can manage it.
** Affects: pulseaudio (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
module-esound-protocol-unix and ownership of /tmp/.esd directory
https://launchpad.net/bugs/91494
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs