diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-10-29 23:51:37 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-10-29 23:52:10 -0400 |
commit | 448fde98950def2b1d69bd05903c8e800b3bbead (patch) | |
tree | e46a741837f208d885400b31b00de6ad3799477b /sys-apps | |
parent | 99b4ea3c66d142201a79505e10677a79429eadc1 (diff) | |
download | gentoo-448fde98950def2b1d69bd05903c8e800b3bbead.tar.gz gentoo-448fde98950def2b1d69bd05903c8e800b3bbead.tar.xz |
sys-apps/systemd: call pam_limits for systemd-user
As suggested by DISTRO_PORTING.
Package-Manager: portage-2.3.2_p1
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/systemd/files/232-systemd-user-pam.patch | 8 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-9999.ebuild | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/232-systemd-user-pam.patch b/sys-apps/systemd/files/232-systemd-user-pam.patch new file mode 100644 index 00000000000..a6501ba4188 --- /dev/null +++ b/sys-apps/systemd/files/232-systemd-user-pam.patch @@ -0,0 +1,8 @@ +--- a/src/login/systemd-user.m4 ++++ b/src/login/systemd-user.m4 +@@ -9,4 +9,5 @@ + session required pam_selinux.so nottys open + )m4_dnl + session required pam_loginuid.so ++session required pam_limits.so + session optional pam_systemd.so diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index c0a9abccef1..b79eeacb3f4 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -159,6 +159,7 @@ src_prepare() { local PATCHES=( "${FILESDIR}/218-Dont-enable-audit-by-default.patch" "${FILESDIR}/228-noclean-tmp.patch" + "${FILESDIR}/232-systemd-user-pam.patch" ) [[ -d "${WORKDIR}"/patches ]] && PATCHES+=( "${WORKDIR}"/patches ) |