Bug 23131

Summary: sshd spawning bash in an infinite loop
Product: [Retired] Red Hat Linux Reporter: Gerald Teschl <gt>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-23 13:28:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gerald Teschl 2001-01-02 10:57:30 UTC
It looks like under some instances, when a user logs in
via ssh, sshd starts spanning bash processes in an infinite
loop. The whole system will be blocked until the kernel runs
out of memory and kills sshd:
 
kernel: VM: killing process sshd
 
After that everything is fine again.

Comment 1 Bill Nottingham 2001-01-02 17:01:52 UTC
What's the users .bash* files look like?

Comment 2 Gerald Teschl 2001-01-02 18:55:11 UTC
.bash_profile = RH default
.bashrc
-----------------
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions

PATH="$PATH:~/bin:."
export PRINTER=dev-null
export EDITOR=joe
umask 007

Comment 3 Nalin Dahyabhai 2001-01-16 02:27:47 UTC
Can you be more specific about "some instances"?  Does it happen regularly for
some users? for all users?  Does adding "set -x" to the top of the .bashrc file
shed any light on this?

Comment 4 Gerald Teschl 2001-03-23 13:28:42 UTC
Never occured again.