Comment 2 for bug 1021376

Revision history for this message
David Wood (dbwood) wrote :

Strangely enough this affects me now. I'm trying to put an encrypted home directory on a USB stick inside the casper-rw filesystem. (I've got another USB stick with a standard installation in an ext4 filesystem which works OK.)

Strace shows
6938 setresuid32(1000, 1000, 1000) = 0
6938 execve("/sbin/mount.ecryptfs_private", ["mount.ecryptfs_private"], [/* 18 vars */]) = 0
...
6938 setresuid32(-1, 1000, -1) = 0
6938 geteuid32() = 1000
...
6938 open("/proc/mounts", O_RDONLY|O_CLOEXEC) = 4
...
6938 setreuid32(-1, 0) = -1 EPERM (Operation not permitted)

and then exits. And I can't use an encrypted home directory at all.