Hello. I've just looked closer at this, I see a pattern now and I think
I know the problem.

I have pulseaudio running as a system-wide instance, with SCHED_FIFO
enabled. Each time I run a GTK program (eg, gedit) from the console, I
get this message immediately after the command line:

W: main.c: WARNING: called SUID root, but not in group 'pulse-rt'.
W: main.c: WARNING: called SUID root, but not in group 'pulse-rt'.

In /var/log/user.log I get something like:

Jun 17 14:56:11 cimer pulseaudio[16764]: core-util.c: setpriority(): Permission 
denied
Jun 17 14:56:11 cimer pulseaudio[16764]: core-util.c: sched_setscheduler(): 
Operation not permitted
Jun 17 14:56:11 cimer pulseaudio[16764]: main.c: Root priviliges required.
Jun 17 14:56:11 cimer pulseaudio[16767]: core-util.c: setpriority(): Permission 
denied
Jun 17 14:56:11 cimer pulseaudio[16767]: core-util.c: sched_setscheduler(): 
Operation not permitted
Jun 17 14:56:11 cimer pulseaudio[16767]: main.c: Root priviliges required.

I'm not sure if it's always twice, for "gedit" it always happens twice,
I don't know why. Presumably at start-up the GTK libraries initialize
sound (for beeps and stuff) and triggers the error. /var/log/messages
only shows the two core-util.c errors.

I've checked and the group pulse-rt isn't used, which is presumably the
problem. I'm not quite sure who needs to belong to that group, so I've
added myself and pulse to the group, I'll see after a reboot if the
issue goes away.

I'd expect one of the pa-utils to notice an error like this, and the
error message to be a bit more clear. (I.e., it should at least tell who
should be added to pulse-rt, and maybe mention the help file to use.)

-- 
pulseaudio fills logs with "Root privileges required" messages
https://bugs.launchpad.net/bugs/95513
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to