Cannot decrypt swap partition with Mandos inside a LV (LVM)

Olivier Molinete olivier at molinete.org
Sun Jun 1 01:51:25 CEST 2014


On 31/05/2014 23:34, Teddy Hogeborn wrote:

> The pickle file only exists when the server is stopped.  If you stop 
> the
> server it writes the current state to a pickle file, which, if removed,
> will reset the state to whatever is in the clients.conf file.
> 
> /Teddy Hogeborn

I didn't know that, sorry! :)

You're right:

[01:48]-[root at imandos01:~] # cd /var/lib/mandos/
[01:48]-[root at imandos01:/var/lib/mandos] # ll
total 8.0K
4.0K drwxr-xr-x  2 _mandos _mandos 4.0K Jun  1 01:37 ./
4.0K drwxr-xr-x 87 root    root    4.0K May 24 17:40 ../
[01:48]-[root at imandos01:/var/lib/mandos] # /etc/init.d/mandos status
[ ok ] mandos is running.
[01:48]-[root at imandos01:/var/lib/mandos] # /etc/init.d/mandos stop
[ ok ] Stopping Mandos root file system password server: mandos.
[01:48]-[root at imandos01:/var/lib/mandos] # ll
total 12K
4.0K drwxr-xr-x  2 _mandos _mandos 4.0K Jun  1 01:48 ./
4.0K drwxr-xr-x 87 root    root    4.0K May 24 17:40 ../
4.0K -rw-------  1 _mandos _mandos 3.8K Jun  1 01:48 clients.pickle
[01:48]-[root at imandos01:/var/lib/mandos] #

I think I will delete the file, and restart both servers: the one with 
mandos-server first, and 2 minutes again, the one with the mandos-client 
installed.

I will tell you if it works again like 3 days ago ;)

Thank you again for your help.

Kind regards from Madrid,
Olivier Molinete


More information about the Mandos-Dev mailing list