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

panic: /proc filesystem broken: no NSpid element in status. #48

Closed
UchihaItachiSama opened this issue Mar 18, 2024 · 1 comment
Closed

Comments

@UchihaItachiSama
Copy link

Following error is seen when deploying using docker-compose

gostwire-1   | INFO[2024-03-18T07:23:09Z] Gostwire "The Sequel" virtual network topology and configuration discovery service, version 2.4.1
gostwire-1   | INFO[2024-03-18T07:23:09Z] Copyright (c) Siemens AG 2018-2023
gostwire-1   | INFO[2024-03-18T07:23:09Z] available engine process detector plugins: containerd, cri-o, dockerd
gostwire-1   | INFO[2024-03-18T07:23:09Z] available socket activator detector plugins: systemd
gostwire-1   | INFO[2024-03-18T07:23:09Z] starting gostwire server to serve at [::]:5000
edgeshark-1  | INFO[2024-03-18T07:23:09Z] Packetflix Capture-as-a-Service version 0.9.7
edgeshark-1  | DEBU[2024-03-18T07:23:09Z] debugging messages enabled
edgeshark-1  | DEBU[2024-03-18T07:23:09Z] forwarding to discovery service enabled
edgeshark-1  | INFO[2024-03-18T07:23:09Z] starting capture service websocket server on port 5001...
gostwire-1   | INFO[2024-03-18T07:23:09Z] discovered 793 processes
gostwire-1   | INFO[2024-03-18T07:23:09Z] found 6 pid namespaces joined by processes
gostwire-1   | INFO[2024-03-18T07:23:09Z] found 16 mnt namespaces joined by processes
gostwire-1   | INFO[2024-03-18T07:23:09Z] found 8 uts namespaces joined by processes
gostwire-1   | INFO[2024-03-18T07:23:09Z] found 13 net namespaces joined by processes
gostwire-1   | INFO[2024-03-18T07:23:09Z] skipping discovery of fd-referenced namespaces
gostwire-1   | INFO[2024-03-18T07:23:09Z] found 0 bind-mounted namespaces
gostwire-1   | INFO[2024-03-18T07:23:09Z] found 0 hidden pid namespaces
gostwire-1   | INFO[2024-03-18T07:23:09Z] skipping discovery of pid namespace ownerships
gostwire-1   | INFO[2024-03-18T07:23:09Z] skipping discovery of mnt namespace ownerships
gostwire-1   | INFO[2024-03-18T07:23:09Z] skipping discovery of uts namespace ownerships
gostwire-1   | INFO[2024-03-18T07:23:09Z] skipping discovery of net namespace ownerships
gostwire-1   | INFO[2024-03-18T07:23:09Z] skipping discovery of mount paths and mount points
gostwire-1   | INFO[2024-03-18T07:23:09Z] discovered 16 mnt, 0 cgroup, 8 uts, 0 ipc, 0 user, 6 pid, 13 net, 0 time namespaces
gostwire-1   | panic: /proc filesystem broken: no NSpid element in status.
gostwire-1 exited with code 2

I'm guessing this is because NSpid is missing from /proc/<pid>/status in kernel version older than 4.1 (https://man7.org/linux/man-pages/man5/proc.5.html)

my test VM is currently using kernel version 3.10.0

Thus wanted to confirm if there are some minimum requirements as it's not mentioned in the docs.

@thediveo
Copy link
Collaborator

thediveo commented Mar 18, 2024

First, thank you very much for your detailed bug report. And yes, you're correct, we don't support kernels this old. While we in Industry have some long term support, this one is even beyond that window of time. I'll update the documentation accordingly, as you are perfectly right in pointing out we never documented the minimal requirements in several places.

thediveo added a commit to thediveo/lxkns that referenced this issue Mar 18, 2024
thediveo added a commit that referenced this issue Mar 18, 2024
thediveo added a commit to siemens/edgeshark that referenced this issue Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants