[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#798967: Bug#798967: lightdm: Does not source /etc/environment through pam_env



On lun., 2015-09-14 at 16:31 +0200, Benjamin Cama wrote:
> For me, the fix was to remove the "envfile=/etc/default/locale"
> argument
> to pam_env.so in /etc/pam.d/lightdm. This change is Debian-specific,
> and
> comes from this patch version:
> 
> http://anonscm.debian.org/viewvc/pkg-xfce/goodies/trunk/lightdm/debia
> n/patches/05_debianize-pam-files.patch?revision=7308&view=markup

Hi,

I don't remember exactly from where I picked the change (I think it was
from gdm), but indeed, there's definitely a mistake.
/etc/default/locale should be only added, not replace completely the
thing. As far as I can tell, other pam config file use something like:

session       required   pam_env.so readenv=1
session       required   pam_env.so readenv=1 envfile=/etc/default/locale   

Can you check that it works for you and report back?

Regards,                                                                                                                                                                                                     
-- 
Yves-Alexis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150914/f96aa44a/attachment.sig>



Reply to: