summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-12-18 18:06:34 -0500
committerMike Gilbert <floppym@gentoo.org>2016-12-18 18:07:51 -0500
commitdb84e270c44409f10a83c6db053bd4cb3418a37b (patch)
treeb2e85ecbd6860127631ca9e924707509c569ce2c /sys-apps/systemd
parentmail-filter/postfwd: remove the obsolete description tag from the metadata (diff)
downloadgentoo-db84e270c44409f10a83c6db053bd4cb3418a37b.tar.gz
gentoo-db84e270c44409f10a83c6db053bd4cb3418a37b.tar.bz2
gentoo-db84e270c44409f10a83c6db053bd4cb3418a37b.zip
sys-apps/systemd: update systemd-user-pam patch
Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/files/233-systemd-user-pam.patch16
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild2
2 files changed, 17 insertions, 1 deletions
diff --git a/sys-apps/systemd/files/233-systemd-user-pam.patch b/sys-apps/systemd/files/233-systemd-user-pam.patch
new file mode 100644
index 000000000000..eb2223e52f27
--- /dev/null
+++ b/sys-apps/systemd/files/233-systemd-user-pam.patch
@@ -0,0 +1,16 @@
+--- a/src/login/systemd-user.m4
++++ b/src/login/systemd-user.m4
+@@ -2,11 +2,7 @@
+ #
+ # Used by systemd --user instances.
+
+-account required pam_unix.so
+-m4_ifdef(`HAVE_SELINUX',
+-session required pam_selinux.so close
+-session required pam_selinux.so nottys open
+-)m4_dnl
+-session required pam_loginuid.so
++account include system-auth
++session include system-auth
+ session optional pam_keyinit.so force revoke
+ session optional pam_systemd.so
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index cf316ac25078..fd6a46faec39 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -156,7 +156,7 @@ src_prepare() {
PATCHES+=(
"${FILESDIR}/218-Dont-enable-audit-by-default.patch"
"${FILESDIR}/228-noclean-tmp.patch"
- "${FILESDIR}/232-systemd-user-pam.patch"
+ "${FILESDIR}/233-systemd-user-pam.patch"
)
fi