Bug 523555 - PulseAudio has trouble acquiring RT although privileges are granted in PolicyKit
Summary: PulseAudio has trouble acquiring RT although privileges are granted in PolicyKit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 10
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-15 23:19 UTC by linuxuser09
Modified: 2009-09-16 18:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-16 18:44:33 UTC


Attachments (Terms of Use)

Description linuxuser09 2009-09-15 23:19:09 UTC
Description of problem:
PulseAudio complains:

I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
D: main.c: Started as real root: no, suid root: yes
I: main.c: PolicyKit refuses acquire-high-priority privilege.
I: main.c: PolicyKit grants us acquire-real-time privilege.
N: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:
N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
N: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted


When I block privilege for PulseAudio to acquire RT, 

cap.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges
Version-Release number of selected component (if applicable):

Is there different set of rules for main.c or is this really a bug


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
PulseAudio can't fully acquire RT

Expected results:
PulseAudio acquires RT


Additional info:
I would appreciated to be able to enabled only through PolicyKit.

Comment 1 Lennart Poettering 2009-09-16 18:44:33 UTC
These are just informational messages. You can safely ignore this. In F10 we enabled an option in PA that would be forbidden by policy hence you get this informational message. In F11 this was downgraded a bit and in F12 all this is gone entirely.


Note You need to log in before you can comment on or make changes to this bug.