I'll try to summarise my experience with Fedora 17 Beefy Miracle LXDE Spin. It will not be step by step how-to, but notes about pivot points on one's way to access and auto-mount earlier encrypted home directories. With armed SELinux.
Must be installed:
sudo yum install ecryptfs-utils cryptsetup
There is default directories structure:
Let it be as is. If it is not - use "mount ... -o bind...". This successfully will do the trick.
Some system setup:
sudo authconfig --enableecryptfs --updateall
Set up SELinux objects (as root, or sudo):
restorecon -R -v /home/userName
semanage fcontext -a -e /home /home/.ecryptfs
restorecon -R -v /home/.ecrypfs/userName
setsebool -P use_ecryptfs_home_dirs 1
restorecon -R -v /home
This seems to be sufficient for _auto_ mount of encrypted home directories. On my system there is a bug: after first GUI login home directories are mounted, after subsequent logout-login they may be not mounted. After unpredictable login-logout steps they will be auto-mounted again. Forced logout via 'killall -u userName' seems not to affect this.
There are some other ways to achieve auto-mount, or mounting without direct password asking. Via editing of '/etc/pam.d/system-auth', playing with PAM modules and inserting key into keyring at login, inserting some simple mount commands into login shell auto-launch file, editing '/etc/fstab'.
eCryptFS need access to user's keys in keyring. To insert key and mount/unmount, in case of manual mounting, do:
Some links to useful papers and discussions are in the posts above.