Home folder encryption doesn't work

Bug #1206571 reported by Massimiliano Alessandri on 2013-07-30
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-nexus7
Undecided
Unassigned
Ubuntu
Undecided
Unassigned

Bug Description

Although the installation procedure asks the user if he would like to encrypt his home folder, no encryption is performed at all.
I tried to manually encrypt the home folder after installation by:
- installing and enabling SSH server
- setting a password for the root user
- rebooting
- logging remotely to the tablet from my laptop
- entering the command "ecryptfs-migrate-home -u myusername"
but I got the following error message:

INFO: Checking disk space, this may take a few moments. Please be patient.
INFO: Checking for open files in /home/myusername
lsof: WARNING: can't stat() ext4 file system /host
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/lightdm/gvfs
      Output information may be incomplete.
ERROR: Cannot get ecryptfs version, ecryptfs kernel module not loaded?

I also attempted to load the "ecryptfs" module by entering "modprobe ecryptfs" but it seems like this module has not been compiled in the kernel:

FATAL: Module ecryptfs not found.

Mike (jh7r-ii) wrote :
Download full text (10.6 KiB)

INFO: Checking disk space, this may take a few moments. Please be patient.
INFO: Checking for open files in /home/user
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
      Output information may be incomplete.
INFO: The following files are in use:

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
      Output information may be incomplete.
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    mdm 7334 root 10w REG 8,5 3278 390198 /home/user/.xsession-errors
    cinnamon- 7466 user cwd DIR 8,5 4096 390145 /home/user
    cinnamon- 7466 user mem REG 8,5 1332 3280 /home/user/.local/share/mime/mime.cache
    cinnamon- 7466 user mem REG 8,5 6526 390295 /home/user/.config/dconf/user
    cinnamon- 7698 user cwd DIR 8,5 4096 390145 /home/user
    cinnamon- 7698 user mem REG 8,5 1332 3280 /home/user/.local/share/mime/mime.cache
    cinnamon- 7698 user mem REG 8,5 6526 390295 /home/user/.config/dconf/user
    pulseaudi 7713 user mem REG 8,5 12288 396151 /home/user/.pulse/1a4e21cdde13c28f6582906053ccf353-card-database.tdb
    pulseaudi 7713 user mem REG 8,5 12288 395644 /home/user/.pulse/1a4e21cdde13c28f6582906053ccf353-stream-volumes.tdb
    pulseaudi 7713 user mem REG 8,5 12288 395618 /home/user/.pulse/1a4e21cdde13c28f6582906053ccf353-device-volumes.tdb
    pulseaudi 7713 user 11u REG 8,5 12288 395618 /home/user/.pulse/1a4e21cdde13c28f6582906053ccf353-device-volumes.tdb
    pulseaudi 7713 user 12u REG 8,5 12288 395644 /home/user/.pulse/1a4e21cdde13c28f6582906053ccf353-stream-volumes.tdb
    pulseaudi 7713 user 13u REG 8,5 12288 396151 /home/user/.pulse/1a4e21cdde13c28f6582906053ccf353-card-database.tdb
    cinnamon- 7760 user cwd DIR 8,5 4096 390145 /home/user
    csd-print 7766 user cwd DIR 8,5 4096 390145 /home/user
    cinnamon 7767 user cwd DIR 8,5 4096 390145 /home/user
    cinnamon 7767 user mem REG 8,5 1332 3280 /home/user/.local/share/mime/mime.cache
    cinnamon 7767 user mem REG 8,5 6526 390295 /home/user/.config/dconf/user
    nemo 7777 user cwd DIR 8,5 4096 390145 /home/user
    nemo 7777 user mem REG 8,5 32768 392597 /home/user/.local/share/gvfs-metadata/root-5d41d59f.log
    nemo 7777 user mem REG 8,5 80 392596 /home/user/.local/share/gvfs-metadata/root
    nemo 7777 user mem REG 8,5 1332 3280 /home/user/.local/share/mime/mime.cache
    nemo 7777 user mem REG 8,5 6526 390295 /home/user/.config/dconf/user
    nemo 7777 user 17r REG 8,5 80 392596 /home/user/.local/share/gvfs-metadata/root
    nemo 7777 user 18r REG 8,5 32768 392597 /home/user/.local/share/gvfs-metadata/root-5d41d...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers