limits.conf ignored on 6.06.2 LTS

Bug #427615 reported by Franck
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pam (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

open file hard limit is set to 1024 for all users.

Trying to change it to a higher value works only for root, an error message is thrown for other users.

settings in limits.conf are ignored despite pam_limits.so in all the right pam.d/ files.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=6.06
DISTRIB_CODENAME=dapper
DISTRIB_DESCRIPTION="Ubuntu 6.06.2 LTS"

Linux xxxxxx 2.6.15-54-server #1 SMP Tue Aug 18 17:32:23 UTC 2009 i686 GNU/Linux

ulimit -n 2048
-bash: ulimit: open files: cannot modify limit: Operation not permitted

Revision history for this message
Franck (franckm) wrote :

#
# /etc/pam.d/common-session - session-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define tasks to be performed
# at the start and end of sessions of *any* kind (both interactive and
# non-interactive). The default is pam_unix.
#
session required pam_mkhomedir.so skel=/etc/skel/ umask=0077
session sufficient pam_unix.so
session optional pam_foreground.so
session sufficient pam_ldap.so
session required pam_limits.so

tail /etc/security/limits.com
zimbra soft nofile 524288
zimbra hard nofile 524288

# End of file

tail /etc/sysctl.conf
fs.file-max=757644

Revision history for this message
Franck (franckm) wrote :

libpam-runtime is 0.79-3ubuntu14

Revision history for this message
Franck (franckm) wrote :
Revision history for this message
Victor Vargas (kamus) wrote :

This problem looks like similar to bug 71024 and I think this problem was solved long time ago.

affects: ubuntu → pam (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this bug and help to improve Ubuntu.

This bug is not present in the latest release of Ubuntu, and is most probably also not present in the latest LTS release, Ubuntu 8.04 LTS. As such, I'm closing the development task for this bug. You can nominate this bug for fixing in the dapper release, but I think that it's unlikely to receive the necessary intention and would recommend that you upgrade to the current LTS.

Changed in pam (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.