Project

General

Profile

Actions

Bug #1808

closed

Can't set thread priority after dropping privileges.

Added by Jason Ish over 6 years ago. Updated over 6 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 #1

Updated by Victor Julien over 6 years ago

  • Target version changed from 70 to 3.1.1
Actions #2

Updated by Jason Ish over 6 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF