[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-02-12 Thread Gunnar Hjalmarsson
On 2013-02-12 05:08, Steve Langasek wrote: - As of the next upload of pam to raring, .pam_environment will not be read by default at all by the pam_env module. Currently that would break the locale environment for everyone, so please put that upload on hold. -- You received this bug

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-02-12 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/lightdm/pam_env -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title: ~/.pam_environment not parsed by default Status in Light Display Manager:

Re: [Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-02-12 Thread Steve Langasek
On Tue, Feb 12, 2013 at 04:21:14PM -, Gunnar Hjalmarsson wrote: On 2013-02-12 05:08, Steve Langasek wrote: - As of the next upload of pam to raring, .pam_environment will not be read by default at all by the pam_env module. Currently that would break the locale environment for everyone,

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-02-11 Thread Steve Langasek
Having reviewed the proposed pam change at https://code.launchpad.net/~gunnarhj/ubuntu/raring/pam/encrypted- home/+merge/135021, I believe it's incorrect and that this needs to be fixed in lightdm instead. Repeating my comment from the merge proposal: - This is a change in behavior of

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-02-11 Thread Steve Langasek
This problem also affects /etc/pam.d/atd, /etc/pam.d/sshd, and /etc/pam.d/sudo in raring. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title: ~/.pam_environment not parsed

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-02-11 Thread Robie Basak
** Changed in: openssh (Ubuntu) Status: New = Triaged ** Changed in: openssh (Ubuntu Precise) Status: New = Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-02-06 Thread Gunnar Hjalmarsson
** Changed in: pam (Ubuntu) Milestone: None = ubuntu-13.04-feature-freeze -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title: ~/.pam_environment not parsed when HOME is

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-01-28 Thread Gunnar Hjalmarsson
** Changed in: pam (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title: ~/.pam_environment not parsed when HOME is encrypted Status

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-01-27 Thread Gunnar Hjalmarsson
On 2013-01-15 00:33, Dmitrijs Ledkovs wrote: How is ~/.pam_environment is created? It's created and maintained by the SetLanguage and SetFormatsLocale methods in accountsservice. Because for example for ssh with encrypted home ~/.ssh/authorized_keys is put outside the encrypted $HOME, not

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-01-23 Thread Forage
I can confirm that the issue is present in Ubuntu 12.10 as well. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title: ~/.pam_environment not parsed when HOME is encrypted

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-01-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pam (Ubuntu Precise) Status: New = Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu.

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-01-14 Thread Dmitrijs Ledkovs
How is ~/.pam_environment is created? Because for example for ssh with encrypted home ~/.ssh/authorized_keys is put outside the encrypted $HOME, not inside it. E.g. one of the tutorials to achieve this is here: https://rohieb.wordpress.com/2010/10/09/84/ Such that one doesn't need to decrypt

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2013-01-14 Thread David M
I don't know how it is created, but I think it is more about timing. Perhaps SSH tries to get a file handle to ~/.pam_environment and run it itself at a point in time after the encrypted home has been mounted, whereas perhaps the normal LightDM session login does so too early. -- You received

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-12-01 Thread dreamon
@Gunnar: Thanks for looking into this and sorry for my late reply. I tested the workaround suggested by David in comment #19 and can confirm that this solved the problem for me. Language Selector works as expected now. -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-11-19 Thread Gunnar Hjalmarsson
@dreamon I marked your bug #993818 a duplicate of this one. Please don't hesitate to remove the duplicate link if you think the cause of the problem lies elsewhere. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu.

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-11-19 Thread David M
I confirmed that the above work-around (adding session required pam_env.so to /etc/pam.d/common-session) works great. Perhaps that's all Ubuntu needs to do to fix this bug? Not sure if there are any negative side effects, but so far I'm not experiencing any. -- You received this bug notification

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-11-03 Thread David M
Anyone have a workaround for this? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title: ~/.pam_environment not parsed when HOME is encrypted Status in Light Display Manager:

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-11-03 Thread David M
Looks like this is a dupe of 584249. There's a workaround in that one, though I haven't tested it myself yet: session required pam_env.so Add that line at the end of /etc/pam.d/common-session is supposed to force it to read the ~/.pam_environment afteram encrypted $HOME is mounted. -- You

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-06-15 Thread Soren Hansen
This bug is set to High importance, triaged and assigned.. As a fix on its way? Clearly pam_env can't read ~/.pam_environment if $HOME hasn't been mounted yet. Adding pam_env after common-session in lightdm's pam config fixes this and allows me to change the language of my desktop session. I'm

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-06-15 Thread Onkel Dithmeyer
Had the same problem today without encrypted HOME-folder, but parts of it like dokuments etc. on an other hard-drive. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title:

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-05-03 Thread Sami
Benjamin, Are you sure you have EcryptfsInUse: Yes ? These settings in ~/.profile have no influence in my system... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/952185 Title:

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-05-03 Thread Benjamin
Hi Sami, yes I use ecryptfs. See my duplicate... You can try to set your system language in gnome-control-center and then remane your ~/.profile to ~/.profile.back and restart. Works? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-05-02 Thread Benjamin
Hello, I have edited the file ~/.profile in my home folder and now I have everywhere German language. Following changes in this config file: export LANGUAGE=de export LC_MESSAGES=de_DE.UTF-8 export LC_CTYPE=de_DE.UTF-8 export LC_COLLATE=de_DE.UTF-8 export LANG=de_DE.UTF-8 It works! -- You

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-22 Thread Benjamin
Hello together, I think this Bug is available, because I have Ubuntu installed since November and in the interim while a big update is fallen somewhat confused.. If I install a completely different language, such as Icelandic and drag it to first place, me log out and log in, then the language

Re: [Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-20 Thread Shahar Or
On 7 April 2012 19:21, Gunnar Hjalmarsson ubu...@gunnar.cc wrote: Shahar, I'm still a little confused. I'd suggest that we wait til the issue in this report has been fixed. Then, if you after that find shortcomings in how the language settings UI work, I'd appreciate a separate bug about it,

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-07 Thread Gunnar Hjalmarsson
Shahar, I'm still a little confused. I'd suggest that we wait til the issue in this report has been fixed. Then, if you after that find shortcomings in how the language settings UI work, I'd appreciate a separate bug about it, where you as detailed as possible describe - which steps you took, -

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-03 Thread Robert Ancell
Short answer is it should be able to do this correctly. I haven't investigated why it's occurring, but it might be an ordering issue in PAM (i.e. you need to have the pam_environment run after the ecryptfs module as well as before it) -- You received this bug notification because you are a

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-03 Thread Gunnar Hjalmarsson
Shahar, The reason why I marked your bug report as a duplicate is this line in the description: EcryptfsInUse: Yes Are you really saying that it has started to work for you despite of the encrypted HOME? Or have you started log in as a user whose HOME is not encrypted? -- You received this

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-03 Thread Shahar Or
Dear Gunnar, Thank you for the clarification. Yes. Changing languages is now successful. I am now using Hebrew in my personal user account, the same user account in which I filed the report, and yes, like the report says, it is under default Ubuntu ecrypts encryption. Some more analysis of what

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-02 Thread Sebastien Bacher
** Changed in: lightdm Importance: Medium = High ** Also affects: lightdm (Ubuntu) Importance: Undecided Status: New ** Changed in: lightdm (Ubuntu) Importance: Undecided = High ** Changed in: lightdm (Ubuntu) Status: New = Triaged ** Also affects: lightdm (Ubuntu

[Desktop-packages] [Bug 952185] Re: ~/.pam_environment not parsed when HOME is encrypted

2012-04-02 Thread Shahar Or
Dera Friends, My bug, Bug #969666, was marked as a duplicate of this bug. While I've not been paying attention, the issue was resolved for me, in one of the upgrades, I assume. Was it resolved for anyone else, please? Thanks and Blessings, Shahar -- You received this bug notification because