Okay, I'm not able to reproduce the problem.  I was able to mount my
encrypted private data from a LiveCD using:

  ubu...@ubuntu$ sudo mount /dev/sda1 /mnt
  ubu...@ubuntu$ sudo mount -o bind /dev /mnt/dev
  ubu...@ubuntu$ sudo mount -o bind /proc /mnt/proc
  ubu...@ubuntu$ sudo mount -o bind /sys /mnt/sys
  ubu...@ubuntu$ sudo chroot /mnt
  r...@ubuntu$ su - kirkland
  kirkl...@ubuntu$ ecryptfs-mount-private
  kirkl...@ubuntu$ Password:
  kirkl...@ubuntu$ cd
  kirkl...@ubuntu$ ls -alF
  kirkl...@ubuntu$ cat .profile

:-Dustin

-- 
ecryptfs-mount-private in a chroot with a livecd
https://bugs.launchpad.net/bugs/337475
You received this bug notification because you are a member of eCryptfs,
which is a direct subscriber.

Status in “ecryptfs-utils” source package in Ubuntu: Incomplete

Bug description:
Binary package hint: ecryptfs-utils

trying to access an encrypted /home/user from a livecd

using virtualbox, I installed jaunty with the "default" encrypted /home/user 
option during partitionning.

the install is ok and I access the data both in GUI or in single mode using the 
ecryptfs-mount-private as user

Now I boot on a jaunty livecd.
once in the livecd GUI I use a terminal and I set up a chroot

mount /dev/sda1 /mnt
mount -t proc none /mnt/proc
chroot /mnt
su user
                           **** FIRST FAILURE ****
                            keyctl_search: Required key not available
cd /home/user
ls /home/user
                         Access....desktop README;txt
ecryptfs-mount-private
                         using default salt value ....
                         inserted auth tok with sig .......................;
                        keyctl_search: required key not available
                       perhaps try ecryptfs-mount-private
cd ~
ls /home/user
                    it is filled with cryptic things (see user.tar attached)

/var/log/messages in user.tar as well

_______________________________________________
Mailing list: https://launchpad.net/~ecryptfs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ecryptfs
More help   : https://help.launchpad.net/ListHelp

Reply via email to