session-setup-script doesn't know the username
Bug #1245957 reported by
A User
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
High
|
Robert Ancell | ||
1.8 |
Fix Released
|
High
|
Robert Ancell | ||
1.9 |
Fix Released
|
High
|
Robert Ancell | ||
lightdm (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Saucy |
Fix Released
|
High
|
Robert Ancell | ||
Trusty |
Fix Released
|
High
|
Robert Ancell |
Bug Description
When the session-
To reproduce:
1. Configure LightDM to have a session-
2. Check the $USER environment variable in the script
Expected result:
$USER is set to the name of the session being started
Observed result:
$USER is not set
Regression potential:
- Low, the change just sets the variable as it used to be set in LightDM < 1.7.5
Related branches
lp:~robert-ancell/lightdm/lp-1245957
- PS Jenkins bot: Approve (continuous-integration)
- Robert Ancell: Approve
-
Diff: 96 lines (+14/-7)5 files modifiedsrc/seat.c (+1/-1)
tests/scripts/script-hook-fail-greeter-setup.conf (+1/-1)
tests/scripts/script-hook-fail-session-setup.conf (+1/-1)
tests/scripts/script-hooks.conf (+3/-3)
tests/src/test-script-hook.c (+8/-1)
CVE References
no longer affects: | ubuntu |
description: | updated |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Please run "apport-collect 1245957" in order to attach the required logs.