Project

General

Profile

Actions

Support #2575

closed

Permission denied opening suricata-command.socket on CentOS 7 using EPEL packages

Added by B Mathis over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

Description

When using suricata packages on CentOS 7 from EPEL, the following error is seen in the suricata.log file:

    Unix socket: UNIX socket bind(/var/run/suricata/suricata-command.socket) error: Permission denied
    Unable to create unix command socket

On this platform suricata is run as user 'suricata', but /run/suricata has ownership root:root, so it cannot create the socket file. This is set in '/usr/lib/tmpfiles.d/suricata.conf'.

Actions

Also available in: Atom PDF