Difference between revisions of "Talk:Limits.conf"

From ArchWiki
Jump to navigation Jump to search
(→‎Archive: pam_limits applies limits.conf)
(re & close)
Line 1: Line 1:
== Archive ==
+
== <s>Archive</s> ==
  
 
"/etc/security/limits.conf does not work if systemd exists". Huh? So why is this page even here, then? For that matter, why does the file itself still exist in Arch? --[[User:Chowbok|Chowbok]] ([[User talk:Chowbok|talk]]) 09:50, 4 December 2018 (UTC)
 
"/etc/security/limits.conf does not work if systemd exists". Huh? So why is this page even here, then? For that matter, why does the file itself still exist in Arch? --[[User:Chowbok|Chowbok]] ([[User talk:Chowbok|talk]]) 09:50, 4 December 2018 (UTC)
Line 6: Line 6:
  
 
::Systemd still ignores the file, but pam_limits (enabled by default) will apply it to login sessions. So it is still in effect for normal users, but not for systemd services. [[User:Wuestengecko|Wuestengecko]] ([[User talk:Wuestengecko|talk]]) 16:40, 15 January 2019 (UTC)
 
::Systemd still ignores the file, but pam_limits (enabled by default) will apply it to login sessions. So it is still in effect for normal users, but not for systemd services. [[User:Wuestengecko|Wuestengecko]] ([[User talk:Wuestengecko|talk]]) 16:40, 15 January 2019 (UTC)
 +
 +
:::Thanks for pointing that out. [https://bugzilla.redhat.com/show_bug.cgi?id=754285 This Fedora bug] confirms your clarification. [[Special:Diff/563409|I updated the article accordingly]]. Closing this. --[[User:Larivact|Larivact]] ([[User talk:Larivact|talk]]) 17:17, 15 January 2019 (UTC)

Revision as of 17:17, 15 January 2019

Archive

"/etc/security/limits.conf does not work if systemd exists". Huh? So why is this page even here, then? For that matter, why does the file itself still exist in Arch? --Chowbok (talk) 09:50, 4 December 2018 (UTC)

The file exists because it's part of the pam package and is still included upstream. Also, I haven't tested this as I adjusted my systemd config but I'm hearing from others that at some point systemd started reading this file, so if your settings in /etc/systemd are commented out it may still work. Would probably be good for someone to confirm this before they delete this page. Vash63 (talk) 15:38, 13 January 2019 (UTC)
Systemd still ignores the file, but pam_limits (enabled by default) will apply it to login sessions. So it is still in effect for normal users, but not for systemd services. Wuestengecko (talk) 16:40, 15 January 2019 (UTC)
Thanks for pointing that out. This Fedora bug confirms your clarification. I updated the article accordingly. Closing this. --Larivact (talk) 17:17, 15 January 2019 (UTC)