Sample Header Ad - 728x90

Automount ecryptfs home in chroot (when using schroot)

0 votes
1 answer
546 views
my host system is archlinux and i need an ubuntu enviornment ready to be used with the files in my home directory. Problem is: my home directory is encrypted using ecryptfs. So when i launch the schroot this is what i get: ~ $ schroot -c ubuntu-lts (ubuntu-lts) ~ $ ls Access-Your-Private-Data.desktop README.txt How can i automount my encrypted home directory (possibly without re-entering my password). To setup my encrypted home on archlinux i have followed this: - https://wiki.archlinux.org/index.php/ECryptfs#Encrypting_a_home_directory - https://wiki.archlinux.org/index.php/ECryptfs#Auto-mounting My schroot setup is very simple: ~ $ cat /etc/schroot/chroot.d/ubuntu-lts.conf [ubuntu-lts] type=directory description=Ubuntu 18.04 LTS directory=/opt/schroot/ubuntu-lts users= aliases=ubuntu-18.04,ubuntu-bionic,bionic
Asked by wellsaid (1 rep)
Jan 20, 2019, 02:25 PM
Last activity: Jan 31, 2019, 07:31 PM