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

Error On make check #154

Closed
benyaminl opened this issue Oct 13, 2019 · 7 comments
Closed

Error On make check #154

benyaminl opened this issue Oct 13, 2019 · 7 comments

Comments

@benyaminl
Copy link

benyaminl commented Oct 13, 2019

Hello, I don't know what's the error. Please see the file below
test-suite.log

Although I succesfully install slirp4netns, the podman can't run
ERRO[0007] error starting some container dependencies
ERRO[0007] "error from slirp4netns while setting up port redirection: map[desc:bad request: add_hostfwd: slirp_add_hostfwd failed]"
Error: error starting some containers: internal libpod error

@AkihiroSuda
Copy link
Member

++ nsenter --preserve-credentials -U -n --target=27138 ip -json a show dev tun11
++ jq -r '.[1].addr_info[0].local'
Option "-json" is unknown, try "ip -help".

You need ip binary with JSON support.

Podman failure seems unrelated.

@benyaminl
Copy link
Author

++ nsenter --preserve-credentials -U -n --target=27138 ip -json a show dev tun11
++ jq -r '.[1].addr_info[0].local'
Option "-json" is unknown, try "ip -help".

You need ip binary with JSON support.

Podman failure seems unrelated.

How to get one?

@AkihiroSuda
Copy link
Member

What's your distro

@benyaminl
Copy link
Author

What's your distro

Centos 7.7.

@AkihiroSuda
Copy link
Member

Copy ip binary from CentOS 8 and set PATH?

@benyaminl
Copy link
Author

Copy ip binary from CentOS 8 and set PATH?

Let me try. Thanks! For now I'll close this first because the problem is solved and I'm doing it the worng way so it cause slrip error. I run rootless port binding on root port that slrip can't handle.

@AkihiroSuda
Copy link
Member

sysctl -w net.ipv4.ip_unprivileged_port_start=0 allows binding privileged ports

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

2 participants