+lightdm (1.14.2-3) UNRELEASED; urgency=medium
+
+ * debian/patches:
+ - 05_debianize-pam-files updated, fix pam_env configuration and correctly
+ load /etc/environment. closes: #798967
+
+ -- Yves-Alexis Perez <corsac@debian.org> Tue, 15 Sep 2015 20:49:49 +0200
+
lightdm (1.14.2-2) unstable; urgency=medium
* debian/liblightdm-qt-3-0.symbols updated for symbols removed due to the
--- a/data/pam/lightdm
+++ b/data/pam/lightdm
-@@ -1,20 +1,35 @@
+@@ -1,20 +1,36 @@
#%PAM-1.0
# Block login if they are globally disabled
# Load environment from /etc/environment and ~/.pam_environment
-auth required pam_env.so
-+auth required pam_env.so envfile=/etc/default/locale
++session required pam_env.so readenv=1
++session required pam_env.so readenv=1 envfile=/etc/default/locale
-# Use /etc/passwd and /etc/shadow for passwords
-auth required pam_unix.so
+@include common-password
--- a/data/pam/lightdm-greeter
+++ b/data/pam/lightdm-greeter
-@@ -1,7 +1,7 @@
+@@ -1,7 +1,8 @@
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
-auth required pam_env.so
-+auth required pam_env.so envfile=/etc/default/locale
++session required pam_env.so readenv=1
++session required pam_env.so readenv=1 envfile=/etc/default/locale
# Always let the greeter start without authentication
auth required pam_permit.so
--- a/data/pam/lightdm-autologin
+++ b/data/pam/lightdm-autologin
-@@ -1,20 +1,35 @@
+@@ -1,20 +1,36 @@
#%PAM-1.0
# Block login if they are globally disabled
# Load environment from /etc/environment and ~/.pam_environment
-auth required pam_env.so
-+auth required pam_env.so envfile=/etc/default/locale
++session required pam_env.so readenv=1
++session required pam_env.so readenv=1 envfile=/etc/default/locale
# Allow access without authentication
auth required pam_permit.so