Project

General

Profile

Actions

Bug #9381

open
JI OD

libsuricata: investigate log-directory handling during initialization

Bug #9381: libsuricata: investigate log-directory handling during initialization

Added by Jason Ish 3 days ago.

Status:
Triaged
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Soner reports that libsuricata attempts to open ./suricata.log despite a configured default-log-dir. An unwritable working directory causes initialization failure and repeated c-icap child restarts. Starting in the log directory is insufficient because c-icap changes to / when daemonizing.

Investigate whether this results from initialization order or user-mode log-directory overrides. Potentially related to #9178.

Forum report: https://forum.suricata.io/t/6357/20

Follow-up: https://forum.suricata.io/t/6357/22

Related tracking task: #2693.


Related issues 2 (2 open — 0 closed)

Related to Suricata - Task #2693: tracking: libsuricataIn ProgressJason IshActions
Related to Suricata - Bug #9178: Bad error message when wd is not writable in user modeNewActions
Actions

Also available in: PDF Atom