Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I tried to install eCryptfs on my server to open an eCryptfs I did on my home computer.

I got these errors.

$ sudo mount -t ecryptfs /home/(place)/enc/ /home/(place)/enc/

Unable to get the version number of the kernel module. Please make sure that you have the eCryptfs kernel module loaded, you have sysfs mounted, and the sysfs mount point is in /etc/mtab. This is necessary so that the mount helper knows which kernel options are supported.

Make sure that your system is set up to auto-load your filesystem kernel module on mount.

Enabling passphrase-mode only for now.

Unable to link the KEY_SPEC_USER_KEYRING into the KEY_SPEC_SESSION_KEYRING; there is something wrong with your kernel keyring. Did you build key retention support into your kernel?

I have no idea what that means. My server has Debian on it. Should I do something?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

It seems that OpenVZ is the problem (again). OpenVZ uses the parent kernel and I can't do anything with that.

share|improve this answer
    
If you want to use ecryptfs, you'll need to have it in the kernel. You can use ecryptfs with openvz, but it has to be available in the host kernel, so you'll need your host provider to cooperate. –  Gilles Jun 14 '13 at 23:20
    
Yes, unfortunately. Not sure if I should add this to my original question. –  Karel Bílek Jun 17 '13 at 21:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.