pkexec fails with ERROR:pkexec.c:138:pam_conversation_function: code should not be reached
Submitted by Travis Glenn Hansen
Assigned to David Zeuthen @david
Description
Created attachment 63230 pam_conv hack
Enabling pam support on my machine results in this issue every time I successfully authenticate. I'm currently using sys-auth/polkit-0.106-r2 from gentoo.
In my testing (which was by no means thorough) the pam_conv function was only being called upon successful authentication so I simply applied the attached patch to bypass the issue.
https://bugs.launchpad.net/ubuntu/+source/policykit/+bug/875402 http://linux.die.net/man/3/pam_conv
Patch 63230, "pam_conv hack":
pam-auth.patch