Bug 168790 - pam_limits sets wrong values for corefile, etc (missed break)
Summary: pam_limits sets wrong values for corefile, etc (missed break)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-20 10:35 UTC by Anton Guda
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: pam-0.80-8
Clone Of:
Environment:
Last Closed: 2005-09-20 21:55:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to fix pam_limits bug (531 bytes, patch)
2005-09-20 10:36 UTC, Anton Guda
no flags Details | Diff

Description Anton Guda 2005-09-20 10:35:21 UTC
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

Comment 1 Anton Guda 2005-09-20 10:36:29 UTC
Created attachment 119019 [details]
patch to fix pam_limits bug

Comment 2 Tomas Mraz 2005-09-20 12:12:24 UTC
Thank you for spotting this.
I'll also apply it upstream.



Note You need to log in before you can comment on or make changes to this bug.