I run into several problems today with RH9.
Let me start with this one:
 
'su - user' hangs very often ( not always ).
The symptom is exactly the same as bug report id 37615 and 42555(dup):
 
 
However, that was for RH-7.1 and  sh-utils-2.0-13.
I am using RH-9 latest, both su and stty belong to coreutils-4.5.3-19.
 
I've confirmed this is exactly the same bug, since it's clearly
hanging on the second "stty erase `tput kbs`" in /etc/bashrc.
Easy solution will be comment out the stty line or do not use bash.
 
The real question is, how do you normally debug this kind of
problem if you can't find any hint on existing bug report or google ?
 
I will try strace as suggested in the bug report.
Is there any good tool that I can use to check kernel stack ?
Something similar to kdb on AIX ?
( On AIX, I can use dbx to check user stack, if the thread
hangs in kernel space, and dbx cannot attach to it,
I will use kdb to check the thread's kernel thread. )
 
Thanks for your time.
 
Tao
 
 

Reply via email to