Ticket #233 (closed defect: fixed)
System-wide daemon prints a redundant error message
| Reported by: | tanuk | Owned by: | lennart |
|---|---|---|---|
| Milestone: | 0.9.11 | Component: | daemon |
| Keywords: | Cc: |
Description
Using 0.9.9 in system-wide mode, pulseaudio prints this error:
pulseaudio: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
set_all_rlimits() is called after changing the user, so all the command can do now is set the limits lower than what they by default are. By default the user "pulse" hardly has any special privileges, so this is printed pretty much on every system-wide installation, I believe.
On the other hand, if the command is executed before changing the user, I believe it won't have any effect (I haven't made any tests, this is how I understand the code). But at least it would get rid of the error message...
Change History
Note: See
TracTickets for help on using
tickets.
