[Bug 769595] Re: Encrypted home not mountable under chroot
Tyler Hicks
tyhicks at canonical.com
Fri Oct 24 16:24:46 UTC 2014
Please adjust your schroot fstab to bind mount your actual home
directory instead of the /home folder:
/home/tyhicks /home/tyhicks none rw,bind 0
0
Marking the ecryptfs-utils task as invalid as this is a schroot
configuration issue and not an eCryptfs bug.
** Changed in: ecryptfs-utils (Ubuntu)
Status: Triaged => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to schroot in Ubuntu.
https://bugs.launchpad.net/bugs/769595
Title:
Encrypted home not mountable under chroot
Status in “dchroot” package in Ubuntu:
Confirmed
Status in “ecryptfs-utils” package in Ubuntu:
Invalid
Status in “schroot” package in Ubuntu:
Triaged
Bug description:
Binary package hint: ecryptfs-utils
An schroot has the following fstab defined:
/proc /proc none rw,rbind 0 0
/sys /sys none rw,rbind 0 0
/dev /dev none rw,rbind 0 0
/home /home none rw,bind 0 0
/tmp /tmp none rw,bind 0 0
However, the encrypted home directory is not mounted properly within
the chroot, nor will ecryptfs allow the private directory to be
mounted manually from within the chroot:
$ schroot
W: Failed to change to directory ‘/home/codegnome’: No such file or directory
W: Falling back to directory ‘/’
I have no name!:/$ ecryptfs-mount-private
ERROR: Encrypted private directory is not setup properly
Expected behavior is that the chroot will automatically mount a
currently-mounted private directory. Failing that, it should allow the
user to mount the private home directory from within the chroot.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ecryptfs-utils 87-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Apr 23 11:26:41 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ecryptfs-utils
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dchroot/+bug/769595/+subscriptions
More information about the foundations-bugs
mailing list