|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo 1.8.4 hangs on AIX 6.1 if no TTY is available | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Paul Donohue <sudo-bugs> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | high | CC: | huncraft |
| Priority: | low | ||
| Version: | 1.8.4 | ||
| Hardware: | IBM | ||
| OS: | AIX | ||
| Attachments: | Patch to open /proc/ppid/fd/[0-2] in non-blocking mode | ||
|
Description
Paul Donohue
2012-04-09 16:28:42 MDT
Created attachment 339 [details]
Patch to open /proc/ppid/fd/[0-2] in non-blocking mode
I'm unable to reproduce this behavior on AIX 6.1 but opening the file in non-blocking mode should help. Please try the attached patch. If that doesn't help I have a test program I'll ask you to run under truss.
Can you try the current beta version of sudo 1.8.5? I've rewritten the tty fallback code for systems with an SVR4-style /proc (like AIX). See http://www.sudo.ws/devel.html Sorry for the delay in responding. I just tried 1.8.5rc1, and everything seems to work fine. I have not tried the non-blocking patch ... it looks like you've replaced all that code now anyway. Thank you very much! |