[Pkg-xfce-devel] Bug#679386: Bug#679386: Bug#679386: lightdm: Language selection is ignored in session, $LANG is system default

Yves-Alexis Perez corsac at debian.org
Mon Jul 23 09:29:26 UTC 2012


On lun., 2012-07-23 at 02:08 -0700, ian_bruce at fastmail.net wrote:
> On Mon, 23 Jul 2012 10:33:32 +0200
> Yves-Alexis Perez <corsac at debian.org> wrote:
> 
> >> One might ask why a Pluggable Authentication Module ought to be
> >> responsible for things which clearly have nothing to do with
> >> authentication, such as locale selection, especially when they are
> >> liable to change at every login.
> > 
> > PAM is more than authentication, it handles quite some login-related
> > stuff. And maybe it makes sense to store login-specific settings like
> > locales into PAM. But my feeling is that it's not the case. It seems
> > that PAM (through pam_env module) only handles /default/ environment,
> > taken from /etc/environment. So while it might be useful to have a
> > default setting for the box, it's plain useless for user-specific
> > settings. So if my analysis is right, I'm a bit puzzled about the
> > change.
> 
> This.
> 
> Not just user-specific settings, but session-specific settings.

Eh?
> 
> > Note that you might try with accountsservice installed, it might help.
> 
> Doesn't seem to, and I don't see why it would. According to the README:
> 
>     The AccountsService project provides
> 
>      - A set of D-Bus interfaces for querying and manipulating user
>      account information.
> 
>      - An implementation of these interfaces based on the usermod(8),
>      useradd(8) and userdel(8) commands.
> 
> There's nothing session-specific about that.

Well, it could have queried your locale information. Thanks for testing
anyway.
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20120723/f3401ca6/attachment.pgp>


More information about the Pkg-xfce-devel mailing list