likewise screws up PAM configuration for other services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
likewise-open (Ubuntu) |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
With likewise-open installed, the pam environment may not be read, causing some environment variables like PATH or LANG to be incorrect.
[Test Case]
0. Install likewise-open
1. Login via lightdm
2. Open a terminal.
3. Run "echo $PATH"
Expected result: the path contains the folder /usr/games like on earlier releases of Ubuntu.
Actual result: PATH does not include /usr/games
In addition, this causes PATH to not be set correctly after sudo. For instance, /usr/sbin is not in path after sudo. Once again, downgrading lightdm resolves the problem.
[Regression Potential]
This patch affects pam configuration, so could theoretically regress login behavior. It's a minimal patch though and used in raring.
Hi Ayecee!
Thanks for your help to improve Ubuntu by reporting this issue!
The difference between version 1.2.3-0ubuntu1 and 1.2.3-0ubuntu2 of lightdm is a fix of bug 952185, so you kind of make me feel a culprit here. ;-) OTOH I can't reproduce the problem; for me /etc/environment is read just fine with lightdm 1.2.3-0ubuntu2.
I wonder ... lightdm 1.2.3-0ubuntu1 seems not to available in the archive any longer. Was it possibly 1.2.1-0ubuntu1 you downgraded to?