[Bug 2646] zombie processes when using privilege separation

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Dec 15 12:16:06 AEDT 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2646

--- Comment #7 from Akshay <akshay.moghe at gmail.com> ---
Here is what happened when I tested with the '-r' option:

Initially...

root at 4871a0e3589e:/# ps auxf
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME
COMMAND
root         9  0.0  0.0  18248  3308 ?        Ss   01:14   0:00
/bin/bash
root        27  0.0  0.0  34424  2908 ?        R+   01:14   0:00  \_ ps
auxf
root         1  0.1  0.0  40356  8196 ?        Ssl+ 01:14   0:00
/usr/bin/ruby -- /init.rb
root         8  0.0  0.0  26468  3772 ?        S+   01:14   0:00
/usr/sbin/sshd -D -r
root        19  0.0  0.0  29028  4084 ?        Ss   01:14   0:00  \_
sshd: nsadmin [priv]
nsadmin     21  0.0  0.0  29028  2668 ?        S    01:14   0:00     
\_ sshd: nsadmin at pts/0
nsadmin     22  0.0  0.0  18252  3204 pts/0    Ss+  01:14   0:00       
  \_ -bash

Later, (after login then logout)...

root at 4871a0e3589e:/# ps auxf
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME
COMMAND
root         9  0.0  0.0  18248  3324 ?        Ss   01:14   0:00
/bin/bash
root        29  0.0  0.0  34424  2824 ?        R+   01:14   0:00  \_ ps
auxf
root         1  0.1  0.0  40356  8196 ?        Ssl+ 01:14   0:00
/usr/bin/ruby -- /init.rb
root         8  0.0  0.0  26468  3772 ?        S+   01:14   0:00
/usr/sbin/sshd -D -r
nsadmin     21  0.0  0.0      0     0 ?        Z    01:14   0:00 [sshd]
<defunct>

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list