Running parallel commands that require a sudo password borks input #2680
Comments
|
Note: the only workaround I found was to run the command with the --no-parallel flag, unfortunately this disables the parallel goodness. |
|
@purpleidea As a workaround, would it help to warm up the sudo cache just before?
|
|
@tmatilai indeed I do, actually, however if the command runs longer than the sudo timeout, it's not possible. Or more specifically, if enough machines are getting deployed/changed, eventually you'll reach timeout and bork the whole lot. |
|
Good bug. Thanks. |
|
@mitchellh no problem. I've been vagrant-ing a lot lately ;) I quite like it so far, except for the occasional bug of course... |
mitchellh
added a commit
that referenced
this issue
Dec 30, 2013
|
|
mitchellh |
f89c441
|
|
Fixed |
mitchellh
closed this
Dec 30, 2013
|
Sweet, Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
purpleidea commentedDec 18, 2013
Running a command like:
will cause sudo to prompt if it's necessary to clear an NFS mount for example. It's annoying, but not impossible to enter your password.
Running a parallel command such as:
Causes multiple sudo prompts to happen at the same time (or near the same time). Attempts to enter a password were not successful. I had to ^c multiple times, and then 'reset' the terminal.
Cheers,
James
This is related to: #2642 and #2643