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

try lacks user caps #131

Open
ezrizhu opened this issue Oct 26, 2023 · 2 comments
Open

try lacks user caps #131

ezrizhu opened this issue Oct 26, 2023 · 2 comments
Assignees

Comments

@ezrizhu
Copy link
Collaborator

ezrizhu commented Oct 26, 2023

eric@ide0:~/try$ ./try ping -c1 1.1
ping: socktype: SOCK_RAW
ping: socket: Operation not permitted
@ezrizhu
Copy link
Collaborator Author

ezrizhu commented Nov 2, 2023

adding --keep-caps to the first unshare invocation fixes it in ubuntu but not debian.

@ezrizhu
Copy link
Collaborator Author

ezrizhu commented Nov 2, 2023

this issue is also just not reproducible on ubuntu, will have to do more tests on other distros…

Ubuntu
❯ unshare -V
unshare from util-linux 2.37.2

Debian
λ unshare -V
unshare from util-linux 2.39.2

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