[Pkg-xfce-devel] Bug#733261: lightdm lost ability not to set LANG

Martin Dickopp martin at zero-based.org
Fri Dec 27 21:38:33 UTC 2013


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



More information about the Pkg-xfce-devel mailing list