[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-04-24 Thread Dustin Kirkland
I believe that this issue was fixed in the Jaunty installer. If you can still reproduce this issue, please, by all means, re-open this bug! Thanks, :-Dustin ** Changed in: ecryptfs-utils (Ubuntu) Status: Triaged => Fix Released ** Changed in: ecryptfs Status: New => Fix Released

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-04-24 Thread Mackenzie Morgan
No, haven't reproduced it in the last two tries I made. -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-04-24 Thread Dustin Kirkland
maco- Any chance you've been able to reproduce this problem on Jaunty GA? :-Dustin -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-03-20 Thread Mackenzie Morgan
Don't worry, I poked him on IRC about 2 minutes after he asked going "it's already there *link*" I think he forgot to scroll up when he asked. I also think he already started playing with it. I think there's something race-y about this. On the same hardware as before, I did the same install

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-03-20 Thread LuisMondesi
Hello Dustin, If you see my original post (the first one) it does mention the preseed file is attached to this bug report. http://launchpadlibrarian.net/21266763/ubuntu-desktop-experimental.seed -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You received t

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-03-20 Thread Mackenzie Morgan
** Changed in: ecryptfs-utils (Ubuntu) Assignee: Mackenzie Morgan (maco.m) => (unassigned) -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubu

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-03-19 Thread Dustin Kirkland
Can you please attach such a preseed file that you have used to produce this problem (without passwords, obviously)? :-Dustin -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You received this bug notification because you are a member of Ubuntu Bugs, which is

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-03-18 Thread LuisMondesi
I guess you are not using a fully automated install. Try using a preseed file with all the questions you need for a basic installation. On Wed, Mar 18, 2009 at 6:49 PM, Dustin Kirkland wrote: > Hi Mackenzie- > > I still haven't been able to reproduce this issue. > > I just installed from the mini

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-03-18 Thread Dustin Kirkland
Hi Mackenzie- I still haven't been able to reproduce this issue. I just installed from the mini.iso in a KVM, and tasksel'd Kubuntu onto it. Encrypted home dir mounts like a champ, and is readable on reboot. :-Dustin -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bu

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-23 Thread Dustin Kirkland
On Sun, Feb 22, 2009 at 11:49 PM, Mackenzie Morgan wrote: > Then after what you said I did some more testing. I commented out the if > statement I had added (so back to the original code) and did adduser -- > encrypt-home test5. When this user is not logged in, the permissions are 500. > When th

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Mackenzie Morgan
Whole story: On one laptop, I installed from the mini iso (and chose kubuntu-desktop, the mini iso is the same for all *buntu) and found I couldn't login to KDE fully because it couldn't write configs (rebooted and tried to login multiple times, was driving people #kubuntu-devel nuts trying to

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Dustin Kirkland
Another question... How did you create this other user? I have tested thoroughly from the command line using: $ sudo adduser --encrypt-home testuser Mackenzie, can you test using that? :-Dustin -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You receive

Re: [Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Dustin Kirkland
Thanks again for the analysis. You are *absolutely* right--your home directory once mounted *must* be perm'd at least 700. The 500 you're seeing *should* be the unmounted home directory. If there's non-deterministic behavior here, then, yeah, that's a nasty race :-/ We're doing this in PAM, so

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Mackenzie Morgan
And some more testing... I think it's a race. I've got two users that could login only after chmod 700 on their ~. I've got one that could login using the default ecryptfs setup script. -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You received this bug

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Mackenzie Morgan
Or maybe not. I just tried creating another user, and this time it was 500 before login and 700 after login (without the patch). On the system where this bug hit me I didn't have another user to see what /home looks like when I'm not logged in. -- netboot newuser and ecryptfs fails to login http

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Mackenzie Morgan
I'm on a local system. Nothing from /etc/skel/* was written to my ~ before i chmod'd 700 on ~ and KDE did *not* like that it was 500. Also, what I see happening with the patch is the following (consider user "test3"): Before test3 logs in: drwxr-xr-x 5 test3 test3 4096 2009-02-22 03:59 test3

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Dustin Kirkland
Hi Mackenzie, Luis, Thanks very much for the bug report, analysis, and patch. The encrypted home directory mount point is set to 500 to keep you from inadvertently writing unencrypted files into the mount. Should your encrypted home (or private) become unmounted for whatever reason, and some ran

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-22 Thread Dustin Kirkland
Also, one point of clarification... After the system is installed, is this home directory expected to be on a local disk, or networked filesystem? If you're just planning on netbooting the system, and then using a local disk for the home directory, this should be fine. If instead you're planning

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-21 Thread Mackenzie Morgan
Attaching a debdiff to only set the mountpoint to read-only in cases where the entire home directory is not ecrypted. ** Changed in: ecryptfs-utils (Ubuntu) Assignee: (unassigned) => Mackenzie Morgan (maco.m) ** Attachment added: "ecryptfs-utils_71-0ubuntu2.debdiff" http://launchpadlibrar

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-20 Thread Mackenzie Morgan
The actual problem is that when encrypted home is chosen on the net install (I used the mini iso), the home directory's permissions are set to 500. Thus, the config files needed to login cannot be written. The original reporter's workaround simply replaced their home directory with the already-70

[Bug 317895] Re: netboot newuser and ecryptfs fails to login

2009-02-08 Thread Dustin Kirkland
** Also affects: ecryptfs-utils (Ubuntu) Importance: Undecided Status: New -- netboot newuser and ecryptfs fails to login https://bugs.launchpad.net/bugs/317895 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma