Red Hat Bugzilla – Bug 168790
pam_limits sets wrong values for corefile, etc (missed break)
Last modified: 2007-11-30 17:11:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux; X11; ru) KHTML/3.4.2 (like Gecko)
Description of problem:
When pam_limits used in system-auth, and in /etc/security/limits.conf
defined values for corefile size, max locaked memory,
wrong values (really 19) is passwd to setrlimits.
As a resilt, no core file may be created,
no soft limit may be changed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. include pam_limits in system-auth (session)
2. set some good values for limits
3. login and ulimit -Hc
Actual Results: Zero (0) is returned
( 19/1024 = 0 )
Expected Results: The same value, as in limits.conf must be returned (and setted)
its a missed bread bug -- patch provided
Created attachment 119019 [details]
patch to fix pam_limits bug
Thank you for spotting this.
I'll also apply it upstream.