Deadlock when PAM_TEXT_INFO is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PolicyKit |
Invalid
|
Medium
|
|||
policykit (Ubuntu) |
Fix Released
|
Medium
|
James Westby | ||
Jaunty |
Won't Fix
|
Medium
|
James Westby |
Bug Description
the authentication dialog will sometimes hang.
In particular it hangs if your password is about to expire, in which
case pam will send a message.
This message is sent as PAM_AUTH_INFO from polkit-
and relayed by polkit-
agent by polkit-grant. polkit-grant doesn't allow the agent to respond to
these, and so it proceeds to wait for the next line of the conversation.
However, polkit-grant-helper is waiting for a response to this, as it does
for everything sent by the child, but it is never going to get one, and doesn't
even need to bother, as polkit-
It seems to me that there are two ways to fix this. Either have
polkit-grant-helper inspect the messages and know which get responses
(duplicating some logic), or have everything get a response, and have
polkit-
=== Original report:
Hi all,
I've configured my system with kerberos password authentication (since my machine is inside an AD domain).
With sudo/gksudo no problems at all, but when using a policykit unlock dialog (like in user-admin), typing my kerberos password results in a freezed window.
Related branches
Changed in policykit (Ubuntu): | |
status: | New → Incomplete |
Changed in policykit (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
summary: |
- policykit unlock dialog freezes when a kerberor password is typed + Deadlock when PAM_TEXT_INFO is used |
description: | updated |
Changed in policykit: | |
status: | Unknown → Confirmed |
Changed in policykit: | |
status: | Confirmed → Invalid |
Changed in policykit: | |
importance: | Unknown → Medium |
Changed in policykit: | |
importance: | Medium → Unknown |
Changed in policykit: | |
importance: | Unknown → Medium |
Changed in policykit (Ubuntu Jaunty): | |
status: | Triaged → Won't Fix |
Binary package hint: policykit
Hi all,
I've configured my system with kerberos password authentication (since my machine is inside an AD domain).
With sudo/gksudo no problems at all, but when using a policykit unlock dialog (like in user-admin), typing my kerberos password results in a freezed window.