|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo 1.9.0 on AIX: Terminal input/output very sluggish when "log_output" is enabled | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | altmark |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.9.0 | ||
| Hardware: | IBM | ||
| OS: | AIX | ||
|
Description
altmark
2020-05-12 08:09:17 MDT
What version of sudo were you running previously? Sorry, should have noted that. I've updated from 1.8.31p1 which was working fine. The configuration files have been unchanged. sudo 1.9.0 will use the cfmakeraw() function to set the pty to raw mode if it is available. This function exists on AIX but is not documented and it doesn't seem to work the same was as it does on other systems. If you pass ac_cv_func_cfmakeraw=no to the configure script it will avoid using it and the behavior will be the same as with sudo 1.8.31p1. Ok, thank you! I'll give it a try and let you know. That fixed it. Thanks a lot for the quick help, Todd! I've also rebuilt my AIX packages with that fix. Yep, they work for me, too. Thank you! In case you are interested, the problem is that cfmakeraw() on AIX doesn't set VMIN to 1 or VTIME to 0 in c_cc in struct termios. It also doesn't clear the CSIZE and PARENB flags from c_cflag but that's not as much of a problem. Yeah, unfortunately some of the functions in AIX don't seem to have the exact same behavior as their Linux counterparts of same name. Glad you knew right where to look and provided a fix so quickly. Thanks again and feel free to close this bug report. Fixed in sudo 1.9.1 |