diff mbox series

[meta-security,v2] suricata: install classification, reference configs

Message ID 0272a677-57d5-4dbc-b053-8833c6771928@gmail.com
State New
Headers show
Series [meta-security,v2] suricata: install classification, reference configs | expand

Commit Message

Clayton Casciato July 21, 2025, 5:08 p.m. UTC
suricata.yaml references these configs

Resolve:
<Warning> -- could not open: "/etc/suricata/classification.config": No
such file or directory

<Error> -- please check the "classification-file" option in your
suricata.yaml file

Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
---
Sponsor: 21SoftWare LLC

v2: rebase patch, alphabetical order
v1: https://lists.yoctoproject.org/g/yocto-patches/message/1567

 recipes-ids/suricata/suricata_7.0.0.bb | 2 ++
 1 file changed, 2 insertions(+)

Comments

Clayton Casciato Aug. 22, 2025, 2:04 a.m. UTC | #1
Hello!

Was there any feedback?

--
Clayton Casciato
Scott Murray Aug. 22, 2025, 4:54 p.m. UTC | #2
On Thu, 21 Aug 2025, Clayton Casciato wrote:

> Hello!
>
> Was there any feedback?

No, just a bit too busy here atm to test and push out an update.  We'll
both be at OSS EU next week, but I'll work through some testing and will
hopefully get it merged.

Scott
diff mbox series

Patch

diff --git a/recipes-ids/suricata/suricata_7.0.0.bb b/recipes-ids/suricata/suricata_7.0.0.bb
index f2df09e..f02d343 100644
--- a/recipes-ids/suricata/suricata_7.0.0.bb
+++ b/recipes-ids/suricata/suricata_7.0.0.bb
@@ -105,6 +105,8 @@  do_install () {
     install -d ${D}${sysconfdir}/suricata ${D}${sysconfdir}/default/volatiles
     install -m 0644 ${UNPACKDIR}/volatiles.03_suricata  ${D}${sysconfdir}/default/volatiles/03_suricata
 
+    install -m 0644 ${S}/etc/classification.config ${D}${sysconfdir}/suricata
+    install -m 0644 ${S}/etc/reference.config ${D}${sysconfdir}/suricata
     install -m 0644 ${S}/threshold.config ${D}${sysconfdir}/suricata
     install -m 0644 ${S}/suricata.yaml ${D}${sysconfdir}/suricata