Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openshift 4.10 Mac M1 nsenter: can't execute 'tcpdump': No such file or directory #159

Open
KIRY4 opened this issue Dec 13, 2022 · 0 comments

Comments

@KIRY4
Copy link

KIRY4 commented Dec 13, 2022

Hello,

kubectl sniff -p MY-POD -n MY-NS --image MY-PRIV-REPO:MY-PORT/docker --tcpdump-image MY-PRIV-REPO:MY-PORT/corfr/tcpdump

INFO[0005] spawning wireshark!
INFO[0005] starting remote sniffing using privileged pod
INFO[0005] executing command: '[nsenter -n -t 2800874 -- tcpdump -i any -U -w - ]' on container: 'ksniff-privileged', pod: 'ksniff-dntqt', namespace: 'MY-NS'
INFO[0005] command: '[nsenter -n -t 2800874 -- tcpdump -i any -U -w - ]' executing successfully exitCode: '127', stdErr :'nsenter: can't execute 'tcpdump': No such file or directory
'

macOS Monterey 12.0.1

Any ideas how to make it work?

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

No branches or pull requests

1 participant