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

             Bug #: 1955
           Summary: pidfile contains non-existing process id for a short
                    while after restart
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 5.9p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 2115
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2115
use synchronization pipes in process daemonize

sshd calls daemon(3) to daemonize and only after that creates pid file
with new process id. Parent process is immediately exited in daemon()
so there is non-existent process id in pid file for a short while. This
can lead to confusion of checking process which can consider sshd as
dead.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to