Actions
Bug #1808
closedCan't set thread priority after dropping privileges.
Affected Versions:
Effort:
Difficulty:
Label:
Description
If Suricata is configured to drop privileges, and CPU is configured, it will fail to set thread priorities with the following message:
[2281] 13/6/2016 -- 12:41:49 - (tm-threads.c:1031) <Error> (TmThreadSetPrio) -- [ERRCODE: SC_ERR_THREAD_NICE_PRIO(47)] - Error setting nice value -2 for thread W#04-eno1: Operation not permitted
Fix is to allow CAP_SYS_NICE.
Actions