Actions
Optimization #3262
closedUse unique temporary directory for log output when running running Suricata test
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