Re: 2.6.25.3: su gets stuck for root

From: Alan Cox
Date: Wed Jun 04 2008 - 11:17:40 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/