Summary: | sys-apps/systemd: pam limits are not applied to a user session | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam, zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Tsoy
2020-10-25 13:58:28 UTC
Of course, this can be worked around to some extent. For example, I ended up using this: $ cat /etc/systemd/system/user@1000.service.d/limits.conf [Service] LimitRTPRIO=99 LimitMEMLOCK=infinity The patch failed to apply at some point, and I couldn't find the justification for why I added it in the first place. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ec013fbbf4b11185706d21fd079881f628f272 commit 38ec013fbbf4b11185706d21fd079881f628f272 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2020-11-03 15:48:10 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-11-03 15:48:10 +0000 sys-apps/systemd: include system-auth in PAM config Closes: https://bugs.gentoo.org/751199 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/files/gentoo-pam.patch | 33 +++++++++++++++++++++++++++++++++ sys-apps/systemd/systemd-246.6.ebuild | 1 + sys-apps/systemd/systemd-9999.ebuild | 1 + 3 files changed, 35 insertions(+) |