#1140230 suricata: please do "rm -rf /var/log/suricata" on purge

Package:
suricata
Source:
suricata
Description:
Next Generation Intrusion Detection and Prevention Tool
Submitter:
Alexandre Detiste
Date:
2026-06-17 13:19:02 UTC
Severity:
normal
#1140230#5
Date:
2026-06-17 13:16:31 UTC
From:
To:
Dear Maintainer,

I noticed while browsing Debian Code Search that
this package creates /var/log/suricata with debian/suricata.dirs

This makes it piuparts compliant;
because piuparts does not actualy run the packages;
but I guess that after some real world usage of
this package there would be some files in this directory.

Please ensure that this directory is cleansed on purge.

This can be handled by a full blown .postrm script
or with a one-line debian/suricata.purge file
& add a new dependecy on dh-sequence-cruft.

Greetings

Alexandre