-
Notifications
You must be signed in to change notification settings - Fork 621
Open
Milestone
Description
This issue was introduced in 2.4.200 (present in .200 and .201) and impacts environments with a PCAP BPF set.
[Errno 2] No such file or directory: '/usr/sbin/so-bpf-compile'
/var/cache/salt/minion/files/base/bpf/pcap.map.jinja(16):
---
[...]
{{ MACROS.remove_comments(BPFMERGED, 'pcap') }}
{% set PCAPBPF = BPFMERGED.pcap %}
{% endif %}
{% if PCAPBPF %}
{% set PCAP_BPF_CALC = salt['cmd.run_all']('/usr/sbin/so-bpf-compile ' ~ GLOBALS.sensor.interface ~ ' ' ~ PCAPBPF|join(" "), cwd='/root') %} <======================
{% if PCAP_BPF_CALC['retcode'] == 0 %}
{% set PCAP_BPF_STATUS = 1 %}
{% set STENO_BPF_COMPILED = ",\\\"--filter=" + PCAP_BPF_CALC['stdout'] + "\\\"" %}
{% endif %}
{% endif %}
---
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels