[Lunar-bugs] [Lunar Linux 0000059]: Linux-PAM adds a /etc/security/limits.conf

Lunar bug reports list lunar-bugs at lunar-linux.org
Tue Jan 10 06:58:08 UTC 2006


A NOTE has been added to this issue.
======================================================================
<http://bugs.lunar-linux.org/view.php?id=59> 
======================================================================
Reported By:                El_Angelo
Assigned To:                
======================================================================
Project:                    Lunar Linux
Issue ID:                   59
Category:                   module
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Moonbase Version:           20060108
Core Tools:                 Theedge
Core Tools Version:         20051020
======================================================================
Date Submitted:             01-08-2006 21:18 UTC
Last Modified:              01-10-2006 06:58 UTC
======================================================================
Summary:                    Linux-PAM adds a /etc/security/limits.conf
Description: 
i don't know when this got added but i assume that with the addition of the
last two lines in the /etc/security/limits.conf file  (the one's on the
kcore stuff) that you get some defaults on the maximum filesize and stuff
like that...
anyway it's pretty annoying as max-file size system wide is 1GB... 

I *think* this bug got introduced somewhere on the 1.5.2 release but i'm
not really sure :)




======================================================================

----------------------------------------------------------------------
 El_Angelo - 01-09-06 08:03 
----------------------------------------------------------------------
ok, it was late when i added this bug report... so i guess i should clarify
myself a bit... kind of mixed up the solution with the bug-report

What we have right now is that if you install Lunar Linux on your computer
with all releases starting from 1.5.2 rc2 (imho, could be another release
too, sigh) that default maximum filesize is one gigabyte. Which is not
very practical in the days of multi-terrabyte filesystems.... 

Anyway... There is of course an easy solution. 
/etc/security/limits.conf 
contains the vital means to change this behaviour. 

adding 2 simple lines:

*    soft    fsize 4000000
*    hard    fsize 4000000

changes the maximum filesize to about 4GB... 
I guess you could even put it at unlimited but that might not be the
preferred setup. 

The file (/etc/security/limits.conf) comes out of Linux-PAM so i guess we
can tweak that module a bit further... Prolly the easiest solution is to
add the above mentioned lines... but any other solution (that i'm not
aware of will do just fine as well)

----------------------------------------------------------------------
 ratler - 01-10-06 06:58 
----------------------------------------------------------------------
I've seen this problem on the later ISO's. The /etc/security/limits.conf
havn't been changed for years, so the problem is related to something
else. It could be possible that a later version of Linux-PAM have changed
the defaults in pam_limits.so, I will investigate it. Otherwise I will
change limits.conf to include:
* soft fsize -1
* hard fsize -1 

That will set it back to unlimited.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-08-06 21:18 El_Angelo      New Issue                                    
01-08-06 21:18 El_Angelo      Moonbase Version          => 20060108        
01-08-06 21:18 El_Angelo      Core Tools                => Theedge         
01-08-06 21:18 El_Angelo      Core Tools Version        => 20051020        
01-09-06 08:03 El_Angelo      Note Added: 0000098                          
01-10-06 06:58 ratler         Note Added: 0000099                          
======================================================================



More information about the Lunar-bugs mailing list