[Bug 83] New: fork() fails when there are PAM limits set

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jan 29 23:47:28 EST 2002


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

           Summary: fork() fails when there are PAM limits set
           Product: Portable OpenSSH
           Version: 3.0.2p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: vasil at dobrich.net


Background: debian woody, kernel 2.4.17

 The problem is, when you set some resource limits in /etc/security/limits.conf
for group X - nproc 20 ( maximum of running user processes - 20 ), and try to
log with some user with group X, sshd says 'fork failed - resource temporary
unavialable'. There are no other processes running for this user, and as far as
i've seen, it makes something like authenticate-set limits-fork()-setuid() , and
because there is a moment when it's running under root with really lowered
limits, it bombs out. 
  Any solutions?



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