[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-28 Thread Alexander Kraev
Ok, I did that. The situation is the same. On the next login, the system accepted my public key but didn't mount home dir. The error is the same: sshd[11368]: Mount of private directory return code [256] It's strange, but I made a restart of apache2, logged off from the system, then logged on

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-28 Thread Alexander Kraev
Just tried with sudo echo hello, it allows me to log in on the next time with mounted home directory. I don't know does it matter or not, but I use screen. Just for note. -- Auto mount of encrypted home directory RANDOMLY stops to work https://bugs.launchpad.net/bugs/364015 You received this bug

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-27 Thread miraculix125
;-) https://bugs.launchpad.net/ecryptfs/+bug/367804 -- Auto mount of encrypted home directory RANDOMLY stops to work https://bugs.launchpad.net/bugs/364015 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-27 Thread Alexander Kraev
Hi Dustin, Just checked - there is only one authorized_keys, it is in unencrypted mountpoint. I am not sure that I understood you well, but just checked the symlink to ~/.ecryptfs, it exists in both encrypted and unencrypted mountpoints, but it doesn't contain authorized_keys in both cases. --

Re: [Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-27 Thread Dustin Kirkland
Okay, I don't think you understood me very well... Do this ... Put a single, unencrypted copy of authorized_keys in /var/lib/ecryptfs/$USER Now, symlink to that file from two locations... When your $HOME is created, do: $ ln -s /var/lib/ecryptfs/$USER/authorized_keys $HOME/.ssh And the do

Re: [Ecryptfs] [Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-26 Thread Dustin Kirkland
Alexander- Do you have your authorized_keys file available in plaintext in both your encrypted and unencrypted mountpoints? For a hint, take a look at how your ~/.ecryptfs works. It's a symlink in both places--mounted and unmounted home dir. Both symlink point to /var/lib/ecryptfs/$USER. You

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-24 Thread Dustin Kirkland
Hmm, okay, I'm unfamiliar with pam_ssh. Please help me understand... What are you trying to accomplish with this pam-ssh package? Your home (or private) directory is encrypted with a mount passphrase. This mount passphrase is symmetrically encrypted (wrapped) with your system login passphrase.

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-24 Thread Dustin Kirkland
Another question ... is your ssh passphrase the same as your system login passphrase? If not, perhaps you might try re-wrapping your ~/.ecryptfs/wrapped- passphrase with your ssh passphrase (instead of your system passphrase)? See: $ ecryptfs-rewrap-passphrase ~/.ecryptfs/wrapped-passphrase

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-24 Thread Alexander Kraev
Hi Dustin, I am creator of this bug ;) As for me I do not use libpam-ssh. I just have a fresh installation of 9.04 and I use workaround provided by you to have ssh public key auth working. It works randomly, sometime I need to restart ssh and log in again to have encrypted home dir mounted. I am

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-22 Thread miraculix125
same issue for me on jaunty 2.6.28.11 using libpam-ssh 1.91.0-9.3 and ecryptfs-utils/libecryptfs 73-0ubuntu6. i dont have the whole homedir encrypted, only the ~/Private folder, nevertheless i get a gdm[3587]: Mount of private directory return code [256] or a keyctl_search required key not

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-21 Thread Alexander Kraev
Today it has stoped to work again. I did sshd restart then it has started to work on next ssh login. It really looks like a bug. -- Auto mount of encrypted home directory RANDOMLY stops to work https://bugs.launchpad.net/bugs/364015 You received this bug notification because you are a member of

[Bug 364015] Re: Auto mount of encrypted home directory RANDOMLY stops to work

2009-04-21 Thread Alexander Kraev
** Summary changed: - Auto mount of encrypted home directory has stopped to work + Auto mount of encrypted home directory RANDOMLY stops to work -- Auto mount of encrypted home directory RANDOMLY stops to work https://bugs.launchpad.net/bugs/364015 You received this bug notification because you