[Bug 293849] When sshd is started from inetd, zombie processes is generated.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 Mar 2026 01:31:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293849

            Bug ID: 293849
           Summary: When sshd is started from inetd, zombie processes is
                    generated.
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: fbsd-bugzilla@aj.admwt.jp

I am using sshd configured to be started from inetd. Since updating to FreeBSD
15.0R, sshd has been generating zombie processes. It seems that sshd is
terminating abnormally somewhere. There were no problems with 14.3. Of course,
if sshd is started as a daemon, no zombie processes are generated.
=====================
  PID TT  STAT        TIME COMMAND
 1397  -  Is       0:00.01 |-- /usr/sbin/inetd -wW -C 60
12194  -  Is       0:00.11 | `-- sshd-session: minmin [priv] (sshd-session)
12195  -  Z        0:00.01 |   |-- <defunct>
12197  -  S        0:00.69 |   `-- sshd-session: minmin@pts/0 (sshd-session)
12198  0  Ss       0:00.09 |     `-- -sh (sh)
12768  0  R+       0:00.00 |       `-- ps axd

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