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): pam-0.80-7 How reproducible: Always 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) Additional info: 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.