From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.4 i686; Nav) Description of problem: The stty command in /etc/bashrc hangs (strace says loops with -ERESTARTSYS) when doing an su - <user> as root from a vt or a network login (xterm and gnome-termnial work oddly, as well as stracing with strace -f su - <user>) as root. How reproducible: Always Steps to Reproduce: 1. Login as root on a console virtual terminal 2. su - <some other user> 3. There you are Actual Results: nothing directly visible. The process list shows a stty in T state. Tracing this back leads to the stty in /etc/bashrc. Expected Results: Get a login like enviroment for the other user. Additional info: Both su and stty are from sh-utils-2.0-13 Kernel is 2.4.4 from kernel.org glibc is 2.2.2-10
*** This bug has been marked as a duplicate of 37615 ***