Ticket #233 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by tanuk

  • status changed from new to closed
  • resolution set to fixed

Now that the error priority is decreased to info, and thus usually won't be printed to syslog, I guess this can be closed.

Changed 4 years ago by lennart

  • milestone set to 0.9.11
Note: See TracTickets for help on using tickets.