Project

General

Profile

Actions

Bug #6455

open

dumpcap failing to access /data inside docker

Added by osmith about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/17/2024
Due date:
% Done:

0%

Spec Reference:

Description

From https://gerrit.osmocom.org/c/docker-playground/+/36836:

if a ttcn3 container was started in jenkins.sh with
--cap-add=NET_ADMIN, then osmo-ttcn3-hacks.git/ttcn3-tcpdump-start.sh
would select dumpcap instead of tcpdump, to attempt to record a pcap
file to /data/$testcase.pcap.
Due to some unknown way of dropping privileges done by dumpcap though,
it was unable to open the /data/$testcase.pcap due to /data being owned
to another user (tcpdump doesn't have this problem).

The patch that was supposed to fix this causes other problems, so I'm reverting it now:
https://gerrit.osmocom.org/c/docker-playground/+/36858

Let's discuss how to fix it instead here.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)