Menu

#129 mount.crypt doesn't work, but returns successfully

pam_mount
open
nobody
None
5
2021-02-26
2021-02-26
No

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:

  • pam_mount: 2.16 -> 2.17 (I also test 2.18, it doesn't change anything)
  • cryptsetup: 2.1.0 -> 2.3.4

Discussion


Log in to post a comment.

MongoDB Logo MongoDB