Project

General

Profile

Actions

Optimization #3262

closed
JI SB

Use unique temporary directory for log output when running running Suricata test

Optimization #3262: Use unique temporary directory for log output when running running Suricata test

Added by Jason Ish over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Target version:
Effort:
low
Difficulty:
low
Label:

Description

When Suricata-Update runs "suricata -T", it also uses "-l /tmp", which can fail when existing files are in that directory and are not writable by the current instance for Suricata-Update. Using a temporary directory should solve issues here.

For example, creating a directory with tempfile.mkdtemp() then removing it with an exit hook.

JI Updated by Jason Ish over 6 years ago Actions #1

  • Target version changed from 1.1.1 to 1.2.0

SB Updated by Shivani Bhardwaj over 6 years ago Actions #2

  • Status changed from New to Assigned

JI Updated by Jason Ish over 6 years ago Actions #3

  • Priority changed from Normal to High

SB Updated by Shivani Bhardwaj almost 6 years ago Actions #4

  • Status changed from Assigned to In Review

JI Updated by Jason Ish over 5 years ago Actions #5

  • Target version changed from 1.2.0 to 1.2.0rc2

SB Updated by Shivani Bhardwaj over 5 years ago Actions #6

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom