Issue after wizard with policykit
Bug #1579837 reported by
Dave Morley
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Alejandro J. Cura | ||
accountsservice (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
policykit-unity8 (Ubuntu) |
Fix Released
|
Low
|
Ted Gould | ||
ubuntu-system-settings (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
STEPS:
1. Bootstrap flash a fresh image to a device
2. Run through the wizard selecting pin for authentication
3. Tap on the get started button
4. Phone freezes for a while
5. At some point it unfreezes and you see the dash
6. Reboot and get password login instead of pin login
EXPECTED:
I expect no freeze (possibly due to apport) and pin dialogue on reboot
ACTUAL:
I get a long freeze and on reboot instead of getting the pin dialogue to unlock the phone I get the password dialogue and full osk.
Related branches
lp://staging/~ted/policykit-unity8/lp1579837-no-exception-on-timeout
- Charles Kerr (community): Approve
-
Diff: 25 lines (+12/-3)1 file modifiedservice/authentication.cpp (+12/-3)
lp://staging/~ted/policykit-unity8/lp1579837-fallback-true
- Charles Kerr (community): Approve
-
Diff: 40 lines (+12/-4)2 files modifiedservice/agent.cpp (+10/-2)
tests/policykit-mock.h (+2/-2)
tags: | added: lt-blocker regression-proposed |
Changed in canonical-devices-system-image: | |
status: | New → Triaged |
status: | Triaged → In Progress |
importance: | Undecided → High |
milestone: | none → 11 |
Changed in canonical-devices-system-image: | |
milestone: | 12 → backlog |
importance: | High → Medium |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
milestone: | backlog → 13 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
From unity8.log:
Could not set password mode: "Did not receive a reply. Possible causes include:
the remote application did not send a reply, the message bus security policy blo
cked the reply, the reply timeout expired, or the network connection was broken."
qml: Error setting security method: Could not set security mode
I believe we make that "setPasswordMode" call synchronously for technical reasons, which explains the freeze. So the wizard tried to synchronously set the passcode to what the user asked and it times out. Which explains the freeze and why it isn't kept on a reboot.
Not sure why it times out yet.