Re: 2.6.25.3: su gets stuck for root

Alan Cox
2008-06-04T15:17:25Z

On Wed, Jun 04, 2008 at 08:43:00AM -0600, Joe Peterson wrote:
>
> So the error that gets returned to set_termios() is -512.
>
> Also, the various checks before this point (of course) did not pass
> (current->signal->tty != tty, !tty->pgrp, task_pgrp(current) ==
> tty->pgrp, is_ignored(SIGTTOU), is_current_pgrp_orphaned()). I have not
> printed out the various values from these - let me know if this would be
> helpful. I wanted to pass this info along now in case it is of help.

See what tty->pgrp is at that point when it hangs and that might identify
who is owning the tty and tty setup