[meta-security][PATCH 07/10] suricata: enable syslog output


Koen Kooi
 

This fixes the following error preventing startup in daemon mode:

suricata[20485]: 31/7/2018 -- 13:19:48 - <Error> - [ERRCODE: SC_ERR_MISSING_CONFIG_PARAM(118)] - NO logging compatible with daemon mode selected, suricata won't be able to log. Please update 'logging.outputs'

Signed-off-by: Koen Kooi <koen.kooi@...>
---
recipes-security/suricata/files/suricata.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/suricata/files/suricata.yaml b/recipes-security/suricata/files/suricata.yaml
index 90417b0..8d06a27 100644
--- a/recipes-security/suricata/files/suricata.yaml
+++ b/recipes-security/suricata/files/suricata.yaml
@@ -787,7 +787,7 @@ logging:
enabled: no
filename: /var/log/suricata.log
- syslog:
- enabled: no
+ enabled: yes
facility: local5
format: "[%i] <%d> -- "

--
2.9.5

Join yocto@lists.yoctoproject.org to automatically receive all group messages.