From: Stephane Desneux Date: Fri, 21 Mar 2014 15:53:44 +0000 (+0100) Subject: workaround for bug PTREL-763 X-Git-Tag: submit/tizen/20140321.155643 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen%2F20140321.155643;p=platform%2Fupstream%2Fmeta-generic.git workaround for bug PTREL-763 Change-Id: Ia4cb9f54ecb6afdd72b80122621681ca2743f9e8 Signed-off-by: Stephane Desneux --- 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