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

Krun fails to run when the krun user group already exists #373

Open
fsfod opened this issue Mar 14, 2018 · 1 comment
Open

Krun fails to run when the krun user group already exists #373

fsfod opened this issue Mar 14, 2018 · 1 comment
Assignees

Comments

@fsfod
Copy link
Contributor

fsfod commented Mar 14, 2018

If krun is interrupted starting up often when you try to run it again it will fail with the error:

[2018-03-14 18:11:21: ERROR] Command failed: '/usr/bin/sudo -u root useradd -m krun'
stdout:

stderr:
useradd: group krun exists - if you want to add this user to that group, use -g.

This is made worse by the fact you won't see the error until the temperature wait delay has elapsed and there is no email sent for the error either.

@ltratt
Copy link
Member

ltratt commented Mar 14, 2018

A quick thought: is the right approach to simply ignore the error (it exists -- job's a good 'un); or to more carefully clean up when an error happens? I wonder if both are a little harder to do than they first look...

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

3 participants