Bug 23131 - sshd spawning bash in an infinite loop
Summary: sshd spawning bash in an infinite loop
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openssh   
(Show other bugs)
Version: 7.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-02 10:57 UTC by Gerald Teschl
Modified: 2008-05-01 15:37 UTC (History)
0 users

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: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.