-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Linkerd2-proxy failed to run with privileged permission #10722
Linkerd2-proxy failed to run with privileged permission #10722
Comments
Hi @daixiang0, is there any additional information in the logs of the proxy-init containers? |
@adleong I enable debug log:
Not much useful info. Could one of you (linkerd2-proxy experts) try to deploy with privileged proxy? This failure makes me very confused that why it works with limited permission but fail with full permission. |
After arduous debug, I find the cause is When I set proxy run as root (user 0), but I do not sync But in the @olix0r is there any history issue for it? |
@daixiang0 can you give us some more context about what problem you're trying to solve? why do you need to run the proxy as root? generally, we want to run the proxy with a UID that we know isn't used by any other processes so that we can identify which packets are coming from the proxy by their UID. Running the proxy as root could be problematic since there may be other processes also running as root. |
I want to use device in the proxy which need root and privileged permission. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
What is the issue?
Linkerd2-proxy failed to run with privileged permission in CentOS 8.
The install params are
--set proxyInit.runAsRoot=true --set "proxyInit.iptablesMode=nft"
.Try many version, all fail.
How can it be reproduced?
Then deploy as below:
Logs, error output, etc
It failed to work in 2m:
Then destination and proxy-injector pods crashed.
destination pod log:
output of
linkerd check -o short
N/A
Environment
Possible solution
No response
Additional context
No response
Would you like to work on fixing this bug?
yes
The text was updated successfully, but these errors were encountered: