Your message dated Mon, 30 Dec 2013 17:43:44 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-xfce-devel] Bug#733261: Bug#733261: lightdm lost
ability not to set LANG
has caused the Debian Bug report #733261,
regarding lightdm lost ability not to set LANG
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
733261: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733261
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lightdm
Version: 1.8.5-2
Severity: normal
Hello,
It seems that LightDM lost the ability not to set the LANG environment
variable with the 1.6.3-1 -> 1.8.5-2 upgrade.
My system is configured as follows:
$ cat /etc/default/locale
LC_CTYPE=C.UTF-8
$ grep -v ^# /etc/locale.gen
de_DE ISO-8859-1
de_DE.UTF-8 UTF-8
en_US ISO-8859-1
en_US.UTF-8 UTF-8
I have disabled the language selector in
/etc/lightdm/lightdm-gtk-greeter.conf (show-language-selector=false).
Observed behavior: After logging in, the LANG environment variable is set
to "de_DE.utf8", which appears to be based on one of the entries (maybe
the first) in /etc/locale.gen.
Expected behavior: LANG unset, or set to something neutral like "C" or
"POSIX".
If I enable the language selector in the greeter application, I can choose
between German or English, but there is still no way not to set LANG at
all.
Best regards,
Martin
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lightdm depends on:
ii adduser 3.113+nmu3
ii consolekit 0.4.6-3+b1
ii dbus 1.6.18-2
ii debconf [debconf-2.0] 1.5.52
ii libc6 2.17-97
ii libgcrypt11 1.5.3-2
ii libglib2.0-0 2.36.4-1
ii libpam0g 1.1.3-9
ii libxcb1 1.9.1-3.1
ii libxdmcp6 1:1.1.1-1
ii lightdm-gtk-greeter [lightdm-greeter] 1.6.1-4
Versions of packages lightdm recommends:
ii xserver-xorg 1:7.7+4
Versions of packages lightdm suggests:
pn accountsservice <none>
ii upower 0.9.23-2+b1
-- Configuration Files:
/etc/lightdm/lightdm.conf changed:
[LightDM]
[SeatDefaults]
display-setup-script=/etc/X11/Xsetup
[XDMCPServer]
[VNCServer]
/etc/lightdm/users.conf changed:
[UserAccounts]
minimum-uid=1000
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin
/etc/pam.d/lightdm changed:
auth requisite pam_nologin.so
auth required pam_env.so envfile=/etc/default/locale
@include common-auth
auth optional pam_gnome_keyring.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so close
session required pam_limits.so
session optional pam_mail.so dir=~/Maildir nopen
session required pam_loginuid.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so open
session optional pam_gnome_keyring.so auto_start
@include common-password
-- debconf information:
* shared/default-x-display-manager: lightdm
lightdm/daemon_name: /usr/sbin/lightdm
--- End Message ---
--- Begin Message ---
On Sun, Dec 29, 2013 at 10:27:41PM +0100, Yves-Alexis Perez wrote:
> On Sun, Dec 29, 2013 at 10:15:45PM +0100, Martin Dickopp wrote:
> > On Sat, Dec 28, 2013 at 11:45:30PM +0100, Yves-Alexis Perez wrote:
> > > On Fri, Dec 27, 2013 at 10:38:33PM +0100, Martin Dickopp wrote:
> > > > Package: lightdm
> > > > Version: 1.8.5-2
> > > > Severity: normal
> > > >
> > > > Hello,
> > > >
> > > > It seems that LightDM lost the ability not to set the LANG environment
> > > > variable with the 1.6.3-1 -> 1.8.5-2 upgrade.
> > > >
> > > > My system is configured as follows:
> > > >
> > > > $ cat /etc/default/locale
> > > > LC_CTYPE=C.UTF-8
> > > > $ grep -v ^# /etc/locale.gen
> > > >
> > > > de_DE ISO-8859-1
> > > > de_DE.UTF-8 UTF-8
> > > > en_US ISO-8859-1
> > > > en_US.UTF-8 UTF-8
> > > >
> > > > I have disabled the language selector in
> > > > /etc/lightdm/lightdm-gtk-greeter.conf (show-language-selector=false).
> > > >
> > > > Observed behavior: After logging in, the LANG environment variable is
> > > > set
> > > > to "de_DE.utf8", which appears to be based on one of the entries (maybe
> > > > the first) in /etc/locale.gen.
> > > >
> > > > Expected behavior: LANG unset, or set to something neutral like "C" or
> > > > "POSIX".
> > >
> > > Do you have a .dmrc? Can you paste the content?
> >
> > $ cat ~/.dmrc
> >
> > [Desktop]
> > Session=lightdm-xsession
> > Language=de_DE.utf8
> >
> > If I remove the file and restart lightdm, it is recreated with the same
> > content. After some experimentation, I found that lightdm keeps another
> > copy of the file in /var/cache/lightdm/dmrc. Removing both ~/.dmrc and
> > /var/cache/lightdm/dmrc/martin.dmrc resolves the issue!
>
> > While my immediate issue is resolved, I still find this behavior
> > unfortunate for three reasons:
> >
> > - Recreating a file a user has deleted from a shadow copy is probably as
> > surprising to many users as it has been to me. :-)
>
> It's actually not exactly what happens. The file from /var/cache is the
> last settings used by lightdm. They're used as a default, and are
> overriden by:
>
> - the last user-selected choice when it exists;
> - the menu-selected choice;
>
> In your case, it wasn't overriden by anything, that's all. The behavior
> changed in order to actuall correctly support overriding it, because
> most people actually want the locale to be set, not the opposite.
Thank you for the explanation. I'm closing the bug since I now see how the
behavior I've been looking for can be achieved.
Best regards,
Martin
--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel