[Bug 2044034] [NEW] /etc/security/limits.conf memlock changes have no effect

David Favor 2044034 at bugs.launchpad.net
Mon Nov 20 23:21:36 UTC 2023


Public bug reported:

APT reports package as libpam-modules + launchpad says pam is the
closest package. Please change package name, if required.

Summary says it all.

Default of memlock seems to be 64 (which limits.conf suggests means
64k). Changing this setting seems to have no effect.

The following entry seems to be correct, and has no effect after reboot,
meaning ulimit -l still reports 64. I've tried 128, -1, unlimited,
nothing seems to work.

Maybe I just misunderstand the correct settings or maybe Ubuntu
overrides limits.conf at boot time.

My entry...

*                -       memlock         unlimited

Be great if someone can help me fixing this, as likely it's a simple
config file fix somewhere.

Thanks!

** Affects: pam (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/2044034

Title:
  /etc/security/limits.conf memlock changes have no effect

Status in pam package in Ubuntu:
  New

Bug description:
  APT reports package as libpam-modules + launchpad says pam is the
  closest package. Please change package name, if required.

  Summary says it all.

  Default of memlock seems to be 64 (which limits.conf suggests means
  64k). Changing this setting seems to have no effect.

  The following entry seems to be correct, and has no effect after
  reboot, meaning ulimit -l still reports 64. I've tried 128, -1,
  unlimited, nothing seems to work.

  Maybe I just misunderstand the correct settings or maybe Ubuntu
  overrides limits.conf at boot time.

  My entry...

  *                -       memlock         unlimited

  Be great if someone can help me fixing this, as likely it's a simple
  config file fix somewhere.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/2044034/+subscriptions




More information about the foundations-bugs mailing list