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

Failed to prepare a jvm experiment if the process creator‘s name is too long #236

Closed
Vascal opened this issue Nov 19, 2019 · 0 comments
Closed
Assignees
Labels
chaosblade-cli chaosblade project chaosblade-exec-jvm chaosblade-exec-jvm project type/bug Something isn't working
Milestone

Comments

@Vascal
Copy link

Vascal commented Nov 19, 2019

Issue Description

Type: bug report

Describe what happened (or what feature you want)

When preparing a jvm experiment, if the java process creator's name is too long, then the jvm-sandbox injection failed and return:
{"code":604,"success":false,"error":"sudo: unknown user: testlongus+\nsudo: unable to initialize policy plugin\n exit status 1","result":"8590462124aae6f6"}"

such as,
image
image

Describe what you expected to happen

prepare successful

How to reproduce it (as minimally and precisely as possible)

  1. Start a java process with a long-name user.
    2.Use blade to prepare with this java process.

Tell us your environment

Cent OS 7.x

Anything else we need to know?

@xcaspar xcaspar added this to the 0.4.0 milestone Nov 20, 2019
@xcaspar xcaspar closed this as completed Dec 5, 2019
@xcaspar xcaspar added type/bug Something isn't working chaosblade-cli chaosblade project chaosblade-exec-jvm chaosblade-exec-jvm project labels Feb 18, 2020
@xcaspar xcaspar self-assigned this Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chaosblade-cli chaosblade project chaosblade-exec-jvm chaosblade-exec-jvm project type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants