Comment 7 for bug 1020904

Revision history for this message
In , Gleixner (gleixner) wrote :

If you read the comments in the source:
http://bazaar.launchpad.net/~ecryptfs/ecryptfs/ecryptfs-utils/view/head:/src/utils/mount.ecryptfs_private.c
starting from line 304, it says that suid is needed for this executable. It also says, what actions are performed as superuser. Module loading is not performed. I guess module loading is made by "mount -t ecryptfs" but it is maybe incomplete because it has to load additional modules. In my case the md5 is missing:

flo@mamba:~> diff lsmod_before lsmod_1st_try
1a2,11
> ecb 12863 1
> ecryptfs 113255 1
> cbc 12880 0
> sha256_generic 21031 2
> encrypted 18148 1 ecryptfs
> ecryptfs_format 13013 1 encrypted
> sha1_generic 12679 2
> trusted 21890 1 encrypted
> tpm 26915 1 trusted
> tpm_bios 13683 1 tpm
flo@mamba:~> diff lsmod_1st_try lsmod_2nd_try
1a2
> md5 12627 0