mount.crypt doesn't work, but returns successfully
Brought to you by:
jengelh
Since a system upgrade from mageia 7 to mageia 8, pam_mount doesn't work anymore for me, for a LUKS 1 encrypted volume. Turning debug on shows than mount -t crypt is called, doesn't mount anything, and exit with normal status. In order to workaround the issue, I had to redefine to mount command in pam_mount configuration, ie:
<cryptmount>cryptsetup open --luks %(VOLUME) %(MNTPT)</cryptmount>
As it was a full system update, it's difficult to pinpoint where the exact problem is. Here are the versions of relevant (to my knowledge) software before and after the changes: