I tried to simply remove the ecryptfs_get_version() call from pam_sm_authenticate() but that resulted in a strange race condition where the module was loaded, the mount was performed, but filenames were not decrypted.
I believe removing the ecryptfs_get_version() call is the correct fix, but more investigation is needed to understand/correct the race condition.
I tried to simply remove the ecryptfs_ get_version( ) call from pam_sm_ authenticate( ) but that resulted in a strange race condition where the module was loaded, the mount was performed, but filenames were not decrypted.
I believe removing the ecryptfs_ get_version( ) call is the correct fix, but more investigation is needed to understand/correct the race condition.