We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
异常日志:
"response": { "code": 54000, "error": "unexpected status, expected status: create, but the real status: Error, please wait!", "result": { "error": "/bin/sh -c sudo -u test /usr/lib/jdk1.8.0_231/bin/java -Xms128M -Xmx128M -Xnoclassgc -ea -Xbootclasspath/a:/usr/lib/jdk1.8.0_231/lib/tools.jar -jar /opt/chaosblade/lib/sandbox/lib/sandbox-core.jar 7 \"/opt/chaosblade/lib/sandbox/lib/sandbox-agent.jar\" \"home=/opt/chaosblade/lib/sandbox;token=348254078129;server.ip=127.0.0.1;server.port=37419;namespace=chaosblade\": cmd exec failed, err: /bin/sh: sudo: not found\n exit status 127",
create
Error
/bin/sh -c sudo -u test /usr/lib/jdk1.8.0_231/bin/java -Xms128M -Xmx128M -Xnoclassgc -ea -Xbootclasspath/a:/usr/lib/jdk1.8.0_231/lib/tools.jar -jar /opt/chaosblade/lib/sandbox/lib/sandbox-core.jar 7 \"/opt/chaosblade/lib/sandbox/lib/sandbox-agent.jar\" \"home=/opt/chaosblade/lib/sandbox;token=348254078129;server.ip=127.0.0.1;server.port=37419;namespace=chaosblade\"
原因: 在容器环境中,本身不具备sudo -u 切换用户,导致执行出现 sudo: not found
希望解决:
如何使用其他命令来替换sudo -u test ,实现 切换用户
The text was updated successfully, but these errors were encountered:
tiny-x
No branches or pull requests
异常日志:
"response": {
"code": 54000,
"error": "unexpected status, expected status:
create
, but the real status:Error
, please wait!","result": {
"error": "
/bin/sh -c sudo -u test /usr/lib/jdk1.8.0_231/bin/java -Xms128M -Xmx128M -Xnoclassgc -ea -Xbootclasspath/a:/usr/lib/jdk1.8.0_231/lib/tools.jar -jar /opt/chaosblade/lib/sandbox/lib/sandbox-core.jar 7 \"/opt/chaosblade/lib/sandbox/lib/sandbox-agent.jar\" \"home=/opt/chaosblade/lib/sandbox;token=348254078129;server.ip=127.0.0.1;server.port=37419;namespace=chaosblade\"
: cmd exec failed, err: /bin/sh: sudo: not found\n exit status 127",原因:
在容器环境中,本身不具备sudo -u 切换用户,导致执行出现
sudo: not found
希望解决:
如何使用其他命令来替换sudo -u test ,实现 切换用户
The text was updated successfully, but these errors were encountered: