Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

IMPORTANT: LXD and pam update

Recommended Posts

pam-1.3.0-r3 update provides better values for maximum open files in /etc/security/limits.conf. This is good values on modern systems. However it was found that pam_limits.so  that actually setting the limits has bug that occurs in LXD containers, which results in incorrect limits handle. As a consequence, after reboot of containers SSH connection can be terminated.

We will fix pam_limits.so soon, so that it will correctly handle limits inside containers. 

In the mean time, DO NOT UPDATE /etc/security/limits.conf inside LXD containers. LXD containers should have NO limits set in /etc/security/limits.conf until we have fixed the upstream bug.

Link to comment
Share on other sites

  • Create New...