pkexec fails with ERROR:pkexec.c:138:pam_conversation_function: code should not be reached
Bug #875402 reported by
Vreixo Formoso
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
pkexec fails with the error:
ERROR:pkexec.
in up-to-date Ubuntu 11.10. I have taken a look to the source code and it seems related to the fake conversation function used when PAM is invoked (pkexec.c:160 in packaged sources -.orig-). In my system I have a fprint PAM module to authenticate, but it also fails after disabling it.
Policykit authentication other than pkexec seems to work properly. A look at polkitagenthelp
I guess a similar function could be used for pkexec, but I have not enough skills on pam/policykit to address this.
Thanks in advance
Vreixo
To post a comment you must log in.
It seems only affected me, and I'm not using fprint now, so I'm not suffering this problem. No idea whether it is still an issue in new releases.