Closed sylv-io closed 9 months ago
I can confirm that this bug does not occur with sudo v1.9.0.
Can you check whether setting
Defaults !use_pty
in the sudoers file works around the problem?
Can you check whether setting
Defaults !use_pty
in the sudoers file works around the problem?
hi @millert You are correct. This is indeed a workaround for the problem. :+1:
I git bisected and as expected, this is the breaking commit:
Enable the use_pty option by default for sudo 1.9.14.
894daa88f66a69d3c6fe4d2255183d4c0b33a464
Thanks :+1:
Regarding the issue addressed here: https://github.com/go-task/task/issues/1369, it looks like there is a regression that causes the tty to break when sudo is running in parallel. As mentioned in the above issue, it does not require a password prompt to break and can be reproduced by this simple go application:
I'm pretty sure this didn't happen about 1 year ago, so I'm currently trying to bisect this bug.