[pulseaudio-tickets] [PulseAudio] #21: realtime group membership prevents polypaudio to start
PulseAudio
trac-noreply at tango.0pointer.de
Fri Feb 2 13:32:33 PST 2007
#21: realtime group membership prevents polypaudio to start
----------------------------------+-----------------------------------------
Reporter: eric.moret at epita.fr | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: daemon | Severity: major
Resolution: | Keywords:
----------------------------------+-----------------------------------------
Changes (by cjvdb):
* cc: cj at vdbonline.com (added)
Comment:
Strangely enough, this is caused by pulseaudio *not* dropping priviledges
when running suid root and realtime. If the home directory is not world
readable then the check in line 956 of src/pulsecore/core-util.c (from
0.9.5) fails and pulseaudio exits. Why pa can't read the home directory
while running uid == 0 is beyond me though.
When *not* in the realtime group, pulseaudio drops root privs earlier,
before reading the configs, (see src/daemon/main.c:339) and everything is
fine.
I would write a patch, but I don't quite get why pa can't read the config
in the first place if it's running uid == 0. If anyone could point me to a
commit that fixes this I would really appreciate it as I would like to
backport it to the debian 0.9.5 package. From a brief browse of truck head
it looks like the problem is still there though.
--
Ticket URL: <http://www.pulseaudio.org/ticket/21#comment:5>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list