I do know that people have had problems with an encrypted home directory based on an encrypted container. The solution, in that case, is to preload the “loop” module
# modprobe loop
You might want to check if that works. If it does, you will probably need to repeat that after every boot, or configure the module to be automatically loaded during system startup.
# ls -l /home/testcrypt
-rw-r--r-- 1 root root 52428800 Jun 27 21:45 /home/testcrypt
And here’s the “df” command showing that it is mounted at “/mnt/3”
# ls -l /mnt/3
total 12
drwx------ 2 root root 12288 Jun 27 21:45 lost+found
# df /mnt/3
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/cr_testcrypt 43499 778 39281 2% /mnt/3
The one problem, is that I may need to redo that “modprobe” command for every boot. Or I can add a file to “/etc/modules-load.d” to make that automatic. There’s a man page for “modules-load.d” which you might find useful.
I think you have run into a known bug. The “loop” module is supposed to be automatically loaded when needed, but apparently that is not happening.
What is and how to load that module?
I don’t see any reference to it in the link I provided…
yes, it will be use simply for data
right now I’m using RealCrypt but I’ve seen that TrueCrypt as been discontinued http://truecrypt.sourceforge.net/ and they advice to migrate to other solutions
personally I’m fine with RealCrypt but I’m wandering if it I’ve to live it and adopt the above YaST Encrypted Files or any other encryption methods like KGpg or Kleopatra
On 2014-06-28 05:26, cicerone wrote:
>
> robin_listas;2651107 Wrote:
>>
>> Yes, but one possible cause is that it does not load the module, so try
>> loading the module yourself before starting yast.
>
> What is and how to load that module?
nrickert answered that already.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
But I do not need to mount that partition on early boot. It can be
loaded on “later” boot.
> Or I can add a file to “/etc/modules-load.d” to make that
> automatic. There’s a man page for “modules-load.d” which you might find
> useful.
I don’t have it there, either.
> I think you have run into a known bug. The “loop” module is supposed to
> be automatically loaded when needed, but apparently that is not
> happening.
AFAIK, it only happens with YaST.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
I will note that when it worked for me, I had to go through quite a few “Next” and “Finish” steps in Yast. The file was not created until the last step, as best I recall. (I have since deleted it, since I don’t actually need that).
Oh, and I did have to tell it where to mount the container. Otherwise Yast would not complete the operation. I later unmounted, deleted the “fstab” entry, closed (from the crypto) then deleted.