![]() |
2012-09-28
, 17:47
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#2
|
![]() |
2012-09-28
, 17:59
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#3
|
The Following User Says Thank You to jd4200 For This Useful Post: | ||
![]() |
2012-09-28
, 19:47
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#4
|
![]() |
2012-09-28
, 20:34
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#5
|
![]() |
2012-10-01
, 11:49
|
|
Posts: 451 |
Thanked: 424 times |
Joined on Apr 2010
@ England
|
#6
|
The Following User Says Thank You to jd4200 For This Useful Post: | ||
![]() |
2012-10-01
, 20:53
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#7
|
Nice find. I hope you can develop something out of this; I would love to be able to create encrypted partitions.
![]() |
2012-10-11
, 07:36
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#8
|
![]() |
2012-10-16
, 13:10
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#9
|
I do however have some problems I would like to share with you in case somebody can advice me.
This is how I have proceeded;
After this I have whole "/dev/mmcblk0p3" encrypted, and I need to setup my "/sbin/preinit" so that it does the right things to ask for the key and set up decryption on next boot.
So far so good.
Now, on next boot I get the password prompt and enter the correct key.
However, system does not come up but reboots after a while. Once I got so far as to enter PIN-code of my SIM, but after that it rebooted again.
Well, my first thought was that maybe wholesale encfs running would take so much time on boot that watchdog bit me on the tail but closer inspection shows that this is not the case.
When I restored my usual setup and checked the logs, I found that there was loads of mounting errors like this:
"devicelockd: aegis_common.cpp(387): ERROR creation of '/home' failed (Transport endpoint is not connected)"
and further on like this:
"GLIB WARNING ** default - Cannot create directory: /home/user/.accounts"
So apparently at some point in initialization some of the aegisfs thingies that get mounted under "/home/user" fail.
Here is the whole bootlog for your reference: http://www.swagman.org/juice/bootlog_encfs
Now, why does this happen?
I have booted my system before so that I have manually mounted normal unencrypted "/dev/mmcblk0p3" into "/home" so I know the reason is not that aegis wants to mount it by itself. It can well run with "/home" already mounted.
Why does it now complain as I similarily present it with a nice decrypted view of the home hierarchy?
Is there some problem mounting the aegis directories overlayed on the encfs? I would assume there should be no objections to that...?