mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
suricata.yaml: Fix Landlock path settings
Suricata will complain if it cannot read its own configuration file, hence read-only access to /etc/suricata must be allowed. Since the list applies to directories, rather than files, restricting read access to only /usr/share/misc/magic.mgc is not possible; reading /usr/share/misc must be allowed instead. Fixes: #13645 Tested-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
3358151c85
commit
464b2117ea
@@ -775,7 +775,8 @@ security:
|
||||
# /usr and /etc folders are added to read list to allow
|
||||
# file magic to be used.
|
||||
read:
|
||||
- /usr/share/misc/magic.mgc
|
||||
- /etc/suricata
|
||||
- /usr/share/misc
|
||||
- /usr/share/suricata
|
||||
- /var/ipfire/suricata
|
||||
- /var/lib/suricata
|
||||
|
||||
Reference in New Issue
Block a user