Project

General

Profile

Actions

Bug #1808

closed

Can't set thread priority after dropping privileges.

Added by Jason Ish over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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

Also available in: Atom PDF