[Bug 560] Privsep child continues to run after monitor killed.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon May 12 21:40:12 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=560

           Summary: Privsep child continues to run after monitor killed.
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
               URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=164797
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: dtucker at zip.com.au


When the privileged monitor is killed (eg via a SIGHUP) cleans up the utmp 
entries and exits, leaving the child still running.

hosta$ ssh -p 2022 hostb
hostb$ sudo rpm -q redhat-release
redhat-release-8.0-8
hostb$ w
  9:26pm  up 9 days,  9:53,  2 users,  load average: 0.23, 0.39, 0.60
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
dtucker  pts/0    laptop            9:25pm  0.00s  0.20s  0.03s  w

hostb$ ps -eaf |grep "sshd"
root      5052     1  0 21:25 ?        00:00:00 ./sshd -p 2022
root      5061   853  0 21:25 ?        00:00:00 [sshd]
dtucker   5063  5061  0 21:25 ?        00:00:00 [sshd]
dtucker   5154  5064  0 21:26 pts/0    00:00:00 grep sshd
hostb$ sudo kill -HUP 5061
hostb$ w
  9:27pm  up 9 days,  9:54,  2 users,  load average: 0.11, 0.34, 0.57
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
hostb$



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-unix-dev mailing list