Skip to contentSkip to conversation

suricata: install classification, reference configs

PATCH In review Clayton Casciato 2 participants 3 messages Jul 21, 2025 – Aug 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 suricata: install classification, reference configs

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

---
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(+)
recipes-ids/suricata/suricata_7.0.0.bb +2 -0
index f2df09e..f02d343 100644
@@ -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
 
#2 lore raw
Quoted 3 lines · Clayton Casciato

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