From 869bde1dec913f5e035002579bb9a39bb7ad70e8 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Fri, 21 Mar 2014 16:53:44 +0100 Subject: [PATCH] workaround for bug PTREL-763 Change-Id: Ia4cb9f54ecb6afdd72b80122621681ca2743f9e8 Signed-off-by: Stephane Desneux --- scripts/generic-base.post | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/generic-base.post b/scripts/generic-base.post index ce66530..2bd307b 100644 --- a/scripts/generic-base.post +++ b/scripts/generic-base.post @@ -55,4 +55,16 @@ if [ -e /etc/sysconfig/i18n -a ! -e /etc/locale.conf ]; then [ -n "$LC_IDENTIFICATION" ] && echo LC_IDENTIFICATION=$LC_IDENTIFICATION >> /etc/locale.conf fi - +# workaround for bug PTREL-763 +patch -p1 -d/ <<'EOF' +diff -urN bad/etc/pam.d/systemd-user good/etc/pam.d/systemd-user +--- bad/etc/pam.d/systemd-user 2014-03-20 10:01:36.657843073 +0100 ++++ good/etc/pam.d/systemd-user 2014-03-20 10:06:51.586121696 +0100 +@@ -4,5 +4,6 @@ + + account include system-auth + session include system-auth ++session required pam_systemd.so + auth required pam_deny.so + password required pam_deny.so +EOF -- 2.7.4