is it possible to mount a logical volume of a crypted physical volume for a volume group with pam-mount (v2.3)?
The setup is this:
# cryptsetup status old
/dev/mapper/old is active:
keysize: 256 bits
offset: 2056 sectors
size: 2929771994 sectors
This "old" is the physical volume for a volume group "lion" that includes the logical volume "root" which can be mounted.
So the filesystem I need is /dev/lion/root, but I don't know how to put this setup in pam_mount.conf.xml:
<volume fstype="crypt" cipher="aes-cbc-essiv:sha256" path="/dev/lion/root" mountpoint="/old">
this doesn't work because the physical volume is unknown? This setup is a result of a debian installation,
but I now switched to ubuntu on another disk and would like to have the partition available, currently
I mount this volume manually but thought it could be possible.