touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #115337
[Bug 1511259] Re: Session child does not inherit all LC_* variables
** Changed in: lightdm/1.14
Status: Fix Committed => Fix Released
** Also affects: ubuntu (Ubuntu)
Importance: Undecided
Status: New
** Changed in: ubuntu (Ubuntu)
Status: New => Fix Released
** Changed in: ubuntu (Ubuntu)
Importance: Undecided => Medium
** Changed in: ubuntu (Ubuntu)
Status: Fix Released => Fix Committed
** Package changed: ubuntu (Ubuntu) => lightdm (Ubuntu)
** Also affects: lightdm (Ubuntu Vivid)
Importance: Undecided
Status: New
** Changed in: lightdm (Ubuntu Vivid)
Status: New => In Progress
** Changed in: lightdm (Ubuntu Vivid)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1511259
Title:
Session child does not inherit all LC_* variables
Status in Light Display Manager:
Fix Committed
Status in Light Display Manager 1.10 series:
Fix Committed
Status in Light Display Manager 1.14 series:
Fix Released
Status in Light Display Manager 1.16 series:
Fix Committed
Status in Light Display Manager 1.2 series:
Won't Fix
Status in lightdm package in Ubuntu:
Fix Committed
Status in lightdm source package in Vivid:
In Progress
Bug description:
In file session-child.c in function session_child_run() variable
`locale_var_names` contains explicit list of locale environment
variables to inherit. This list lacks of some LC_* variables:
LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT and
LC_IDENTIFICATION. As a result, these variables are not inherited by
child session. Therefore, processes inside desktop session set these
variables to the value of LANG, instead of appropriate values
configured in /etc/locale.conf.
$ more /etc/locale.conf
LANG=en_US.UTF-8
LC_CTYPE=pl_PL.UTF-8
LC_NUMERIC=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_COLLATE=pl_PL.UTF-8
LC_MONETARY=pl_PL.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=pl_PL.UTF-8
LC_NAME=pl_PL.UTF-8
LC_ADDRESS=pl_PL.UTF-8
LC_TELEPHONE=pl_PL.UTF-8
LC_MEASUREMENT=pl_PL.UTF-8
LC_IDENTIFICATION=pl_PL.UTF-8
LC_ALL=
Inside desktop session:
$ locale
LANG=en_US.utf8
LC_CTYPE=pl_PL.UTF-8
LC_NUMERIC=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_COLLATE=pl_PL.UTF-8
LC_MONETARY=pl_PL.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
Notice wrong values of LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
LC_MEASUREMENT and LC_IDENTIFICATION (en_US.utf8 instead pl_PL.UTF-8).
Fix:
Add LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT and
LC_IDENTIFICATION to the `locale_var_names` array in file session-
child.c.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1511259/+subscriptions