The officially official Devuan Forum!

You are not logged in.

#1 2025-02-05 23:28:29

einpoklum
Member
From: Haifa, Palestine
Registered: 2021-07-21
Posts: 62  
Website

pam warns about cedeing another feature to systemd by default

I've just apt-get dist-upgrade'd my excalibur, and was told this:

pam (1.7.0-1) unstable; urgency=medium

    Starting with pam 1.7.0, pam_limits does not automatically reset the
    limits of logged in users. This means that systemd, rather than pam will
    set the defaults for things like number of open files and other resource
    limits. If limits are configured in /etc/security/limits.conf or
    /etc/security/limits.d/*.conf, these values will be respected. To
    restore the previous behavior, add the set_all option to pam_limits.
    For example in /etc/pam.d/ssh, replace:

    session    required     pam_limits.so

    with:

    session    required     pam_limits.so set_all

Are we aware of this change?

Offline

#2 2025-02-06 01:41:21

EDX-0
Member
Registered: 2020-12-12
Posts: 106  

Re: pam warns about cedeing another feature to systemd by default

yeh, "centralizing" those configs under /etc/security/limits.conf for the global limits config and having the per program limits configs at /etc/security/limits.d/*.conf is a good thing, it sorta kinda follows the logic of /etc/sysctl.d/*.conf configs and makes setting the limits and max map count as easy as just writing 2 files.

Offline

Board footer