I am having problems with encrypted home directories (Ubuntu-eCryptfs and grsecurity-stable 2.6.32.29)
I have enabled the hardening of kernel auto-load and I am fully aware of the problems that this causes with encrypted home dir, so, instead of compiling ECB and AES as modules I have built them into the kernel. And yet, upon user login I get (taken from dmesg):
- Code: Select all
[ 30.246995] grsec: denied kernel module auto-load of ecb(aes) by /sbin/mount.ecryptfs_private[mount.ecryptfs_:1143] uid/euid:1000/0 gid/egid:0/0, parent /bin/login[login:1119] uid/euid:0/0 gid/egid:0/0
[ 30.247975] grsec: denied kernel module auto-load of ecb(aes)-all by /sbin/mount.ecryptfs_private[mount.ecryptfs_:1143] uid/euid:1000/0 gid/egid:0/0, parent /bin/login[login:1119] uid/euid:0/0 gid/egid:0/0
I am stumped since I don't know which modules I need to load with modprobe since I have no modules to load:
- Code: Select all
modprobe -l | egrep '(ecb|aes|sha|crypt)'
returns
- Code: Select all
kernel/crypto/crc32c.ko
kernel/drivers/md/dm-crypt.ko
kernel/drivers/crypto/padlock-aes.ko
kernel/drivers/crypto/padlock-sha.ko
Any help and clarification is welcomed
-M