Project

General

Profile

Actions

Optimization #3262

closed

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

Added by Jason Ish about 5 years ago. Updated about 4 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.

Actions #1

Updated by Jason Ish almost 5 years ago

  • Target version changed from 1.1.1 to 1.2.0
Actions #2

Updated by Shivani Bhardwaj almost 5 years ago

  • Status changed from New to Assigned
Actions #3

Updated by Jason Ish almost 5 years ago

  • Priority changed from Normal to High
Actions #4

Updated by Shivani Bhardwaj over 4 years ago

  • Status changed from Assigned to In Review
Actions #5

Updated by Jason Ish about 4 years ago

  • Target version changed from 1.2.0 to 1.2.0rc2
Actions #6

Updated by Shivani Bhardwaj about 4 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF