Merge lp://qastaging/~mterry/lightdm/ecryptfs into lp://qastaging/lightdm

Proposed by Michael Terry
Status: Merged
Merge reported by: Robert Ancell
Merged at revision: not available
Proposed branch: lp://qastaging/~mterry/lightdm/ecryptfs
Merge into: lp://qastaging/lightdm
Diff against target: 27 lines (+6/-0)
2 files modified
src/pam-session.c (+3/-0)
src/xsession.c (+3/-0)
To merge this branch: bzr merge lp://qastaging/~mterry/lightdm/ecryptfs
Reviewer Review Type Date Requested Status
LightDM Development Team Pending
Review via email: mp+71929@code.qastaging.launchpad.net

Description of the change

Make sure to open PAM session before writing to $HOME. This duplicates the pam_session_open call in normal session.c, so I added a check to make that function safely twice-callable.

To post a comment you must log in.
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Thanks for finding the issue! I've refactored the code so the PAM session is now opened in session_start before xsession_start is called.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches