summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-10-29 23:51:37 -0400
committerMike Gilbert <floppym@gentoo.org>2016-10-29 23:52:10 -0400
commit448fde98950def2b1d69bd05903c8e800b3bbead (patch)
treee46a741837f208d885400b31b00de6ad3799477b /sys-apps/systemd
parentmedia-fonts/unifont: bump to 9.0.04 (diff)
downloadgentoo-448fde98950def2b1d69bd05903c8e800b3bbead.tar.gz
gentoo-448fde98950def2b1d69bd05903c8e800b3bbead.tar.bz2
gentoo-448fde98950def2b1d69bd05903c8e800b3bbead.zip
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/systemd')
-rw-r--r--sys-apps/systemd/files/232-systemd-user-pam.patch8
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild1
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 000000000000..a6501ba41880
--- /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 c0a9abccef1b..b79eeacb3f46 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 )