control: severity -1 minor control: retitle -1 With set_all, pam_limits sets RLIM_MEMLOCK to 1/8 of memory
Hi. Starting with pam 1.7.0, which I am working on, pam_limits will not adjust limits by default. If you do use the set_all option, and do not explicitly set RLIM_MEMLOCK, this issue still will apply. I wonder if trying /proc/2/limits rather than /proc/1/limits as a default for reading limits might be a better idea.