Skip to content

Add CAP_DAC_READ_SEARCH to edgeshark / packetflix container - #4030

Merged
ipspace merged 1 commit into
ipspace:devfrom
ikavalio:dev
Nov 6, 2026
Merged

ipspace merged 1 commit into
ipspace:devfrom
ikavalio:dev

Conversation

@ikavalio

@ikavalio ikavalio commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Hi!

I've noticed a tiny change in packetflix siemens/packetflix@e0e980e (updated README section) that made CAP_DAC_READ_SEARCH capability mandatory about a week ago. This PR updates the command to include a missing capability.

I did a few tests locally (containerlab + podman) to ensure it works as expected:

# using 'basic/5-redistribute' lab as an example with
# tools:
#  edgeshark:

> netlab up

... snip ...

[SUCCESS] edgeshark tool started
Open http://127.0.0.1:5001 in your browser

> sudo podman logs -f edgeshark
{
  "msg": "exec container process `/packetflix`: Operation not permitted",
  "level": "error",
  "time": "2026-11-06T10:05:16.971909Z"
}

# Now if I customize the tools command to include '--cap-add DAC_READ_SEARCH'

> sudo podman logs -f edgeshark
time=2026-11-06T10:07:25.474Z level=INFO msg="Packetflix Capture-as-a-Service" version=1.0.0
time=2026-11-06T10:07:25.474Z level=INFO msg="starting capture service websocket server" addr=[::]:5001

CAP_DAC_READ_SEARCH became mandatory for packetflix after after siemens/packetflix@e0e980e

@ipspace ipspace left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a million and welcome to the contributors club!

@ipspace
ipspace merged commit cbb83de into ipspace:dev Nov 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants