2015-10-29 08:37:05 |
Piotr Jurkiewicz |
bug |
|
|
added bug |
2015-10-30 01:30:57 |
Piotr Jurkiewicz |
attachment added |
|
LC.patch https://bugs.launchpad.net/lightdm/+bug/1511259/+attachment/4508942/+files/LC.patch |
|
2015-10-30 04:00:30 |
Robert Ancell |
lightdm: status |
New |
Triaged |
|
2015-10-30 04:00:32 |
Robert Ancell |
lightdm: importance |
Undecided |
Medium |
|
2015-11-02 03:25:53 |
Launchpad Janitor |
branch linked |
|
lp:lightdm |
|
2015-11-02 03:26:07 |
Robert Ancell |
nominated for series |
|
lightdm/1.2 |
|
2015-11-02 03:26:07 |
Robert Ancell |
bug task added |
|
lightdm/1.2 |
|
2015-11-02 03:26:07 |
Robert Ancell |
nominated for series |
|
lightdm/1.10 |
|
2015-11-02 03:26:07 |
Robert Ancell |
bug task added |
|
lightdm/1.10 |
|
2015-11-02 03:26:07 |
Robert Ancell |
nominated for series |
|
lightdm/1.14 |
|
2015-11-02 03:26:07 |
Robert Ancell |
bug task added |
|
lightdm/1.14 |
|
2015-11-02 03:26:07 |
Robert Ancell |
nominated for series |
|
lightdm/1.16 |
|
2015-11-02 03:26:07 |
Robert Ancell |
bug task added |
|
lightdm/1.16 |
|
2015-11-02 03:28:43 |
Robert Ancell |
lightdm/1.2: status |
New |
Fix Committed |
|
2015-11-02 03:28:45 |
Robert Ancell |
lightdm/1.16: status |
New |
Fix Committed |
|
2015-11-02 03:28:47 |
Robert Ancell |
lightdm/1.14: status |
New |
Fix Committed |
|
2015-11-02 03:28:49 |
Robert Ancell |
lightdm/1.10: status |
New |
Fix Committed |
|
2015-11-02 03:28:51 |
Robert Ancell |
lightdm: status |
Triaged |
Fix Committed |
|
2015-11-02 03:29:21 |
Robert Ancell |
lightdm/1.10: importance |
Undecided |
Medium |
|
2015-11-02 03:29:23 |
Robert Ancell |
lightdm/1.14: importance |
Undecided |
Medium |
|
2015-11-02 03:29:25 |
Robert Ancell |
lightdm/1.16: importance |
Undecided |
Medium |
|
2015-11-02 03:29:26 |
Robert Ancell |
lightdm/1.2: importance |
Undecided |
Medium |
|
2015-11-02 03:29:56 |
Launchpad Janitor |
branch linked |
|
lp:lightdm/1.14 |
|
2015-11-02 03:30:17 |
Robert Ancell |
lightdm: milestone |
|
1.17.1 |
|
2015-11-02 03:30:25 |
Robert Ancell |
lightdm/1.16: milestone |
|
1.16.5 |
|
2015-11-02 03:30:29 |
Launchpad Janitor |
branch linked |
|
lp:lightdm/1.10 |
|
2015-11-02 03:30:32 |
Robert Ancell |
lightdm/1.14: milestone |
|
1.14.3 |
|
2015-11-02 03:30:43 |
Robert Ancell |
lightdm/1.10: milestone |
|
1.10.6 |
|
2015-11-02 03:30:48 |
Robert Ancell |
lightdm/1.2: milestone |
|
1.2.11 |
|
2015-11-02 03:32:34 |
Robert Ancell |
lightdm/1.2: status |
Fix Committed |
Won't Fix |
|
2015-11-02 03:32:37 |
Robert Ancell |
lightdm/1.2: milestone |
1.2.11 |
|
|
2015-11-02 03:33:15 |
Launchpad Janitor |
branch linked |
|
lp:lightdm/1.16 |
|
2015-11-03 03:05:48 |
Robert Ancell |
lightdm/1.14: status |
Fix Committed |
Fix Released |
|
2015-11-03 03:05:54 |
Robert Ancell |
bug task added |
|
ubuntu (Ubuntu) |
|
2015-11-03 03:06:21 |
Robert Ancell |
ubuntu (Ubuntu): status |
New |
Fix Released |
|
2015-11-03 03:06:24 |
Robert Ancell |
ubuntu (Ubuntu): importance |
Undecided |
Medium |
|
2015-11-03 03:06:52 |
Robert Ancell |
ubuntu (Ubuntu): status |
Fix Released |
Fix Committed |
|
2015-11-03 03:07:30 |
Robert Ancell |
affects |
ubuntu (Ubuntu) |
lightdm (Ubuntu) |
|
2015-11-03 03:07:39 |
Robert Ancell |
nominated for series |
|
Ubuntu Vivid |
|
2015-11-03 03:07:39 |
Robert Ancell |
bug task added |
|
lightdm (Ubuntu Vivid) |
|
2015-11-03 03:07:49 |
Robert Ancell |
lightdm (Ubuntu Vivid): status |
New |
In Progress |
|
2015-11-03 03:07:51 |
Robert Ancell |
lightdm (Ubuntu Vivid): importance |
Undecided |
Medium |
|
2015-11-03 03:20:01 |
Robert Ancell |
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. |
[Impact]
Not all system locale variables are passed to sessions.
[Test Case]
1. Edit /etc/locale.conf and set LC_PAPER to a particular value
2. Start LightDM
3. Log into a session
Expected result:
LC_PAPER is set to the value in /etc/locale.conf
Observed result:
LC_PAPER is not set.
[Regression potential]
Low. We just added to an existing list of LC_* variables that are passed through to sessions. |
|
2015-11-03 03:22:31 |
Robert Ancell |
lightdm (Ubuntu Vivid): assignee |
|
Robert Ancell (robert-ancell) |
|
2015-11-03 03:41:37 |
Robert Ancell |
lightdm: status |
Fix Committed |
Fix Released |
|
2015-11-03 04:11:28 |
Robert Ancell |
lightdm/1.16: status |
Fix Committed |
Fix Released |
|
2015-11-03 04:18:36 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2015-11-03 04:18:42 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2015-11-03 04:46:20 |
Launchpad Janitor |
lightdm (Ubuntu): status |
Fix Committed |
Fix Released |
|
2015-11-12 17:23:02 |
Brian Murray |
nominated for series |
|
Ubuntu Wily |
|
2015-11-12 17:23:02 |
Brian Murray |
bug task added |
|
lightdm (Ubuntu Wily) |
|
2015-11-12 17:23:10 |
Brian Murray |
lightdm (Ubuntu Wily): importance |
Undecided |
Medium |
|
2015-11-12 17:27:38 |
Brian Murray |
lightdm (Ubuntu Wily): status |
New |
Fix Committed |
|
2015-11-12 17:27:40 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-11-12 17:27:42 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2015-11-12 17:27:49 |
Brian Murray |
tags |
patch |
patch verification-needed |
|
2015-11-12 19:11:21 |
Brian Murray |
lightdm (Ubuntu Vivid): status |
In Progress |
Fix Committed |
|
2015-11-15 19:58:48 |
Piotr Jurkiewicz |
tags |
patch verification-needed |
patch verification-done |
|
2015-11-16 02:24:35 |
Robert Ancell |
tags |
patch verification-done |
patch verification-done-vivid |
|
2015-11-16 03:16:43 |
Robert Ancell |
tags |
patch verification-done-vivid |
patch verification-done-vivid verification-done-wily |
|
2015-11-19 19:33:25 |
Launchpad Janitor |
lightdm (Ubuntu Wily): status |
Fix Committed |
Fix Released |
|
2015-11-19 19:33:36 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-11-20 08:21:46 |
Robert Ancell |
nominated for series |
|
Ubuntu Trusty |
|
2015-11-20 08:21:46 |
Robert Ancell |
bug task added |
|
lightdm (Ubuntu Trusty) |
|
2015-11-20 08:22:05 |
Robert Ancell |
lightdm (Ubuntu Wily): assignee |
|
Robert Ancell (robert-ancell) |
|
2015-11-20 08:22:11 |
Robert Ancell |
lightdm (Ubuntu Trusty): assignee |
|
Robert Ancell (robert-ancell) |
|
2015-11-20 08:22:13 |
Robert Ancell |
lightdm (Ubuntu): assignee |
|
Robert Ancell (robert-ancell) |
|
2015-11-20 08:22:15 |
Robert Ancell |
lightdm (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2015-11-20 08:22:19 |
Robert Ancell |
lightdm (Ubuntu Trusty): status |
New |
Fix Committed |
|
2015-12-02 19:57:53 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-12-02 19:57:58 |
Chris J Arges |
tags |
patch verification-done-vivid verification-done-wily |
patch verification-done-vivid verification-done-wily verification-needed |
|
2015-12-03 23:57:19 |
Robert Ancell |
tags |
patch verification-done-vivid verification-done-wily verification-needed |
patch verification-done-trusty verification-done-vivid verification-done-wily |
|
2015-12-09 14:42:20 |
Launchpad Janitor |
lightdm (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-12-16 14:46:09 |
Launchpad Janitor |
lightdm (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|