release upgrade from xenial to bionic desktop: screen locks itself, password to unlock fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Triaged
|
Critical
|
Unassigned | ||
Bionic |
Invalid
|
Critical
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Critical
|
Brian Murray | ||
Bionic |
Fix Released
|
Critical
|
Brian Murray |
Bug Description
[Impact]
During a release upgrade, the screen should not be locked because the upgrade of underlying libraries may leave the system in an inconsistent state where the process locking the screen may not be able to unlock it again. (Its possible for the screen to lock during the fetching process before the call to inhibitIdle happens.)
[Test Case]
1) Configure a screen lock with a short time period (1 minute) and ensure it'll take more than 1 minute to fetch all the packages
2) Upgrade an Ubuntu 16.04 system to Ubuntu 18.04
3) Observe the screen locks during the upgrade process
With the version of ubuntu-
[Regression Potential]
Code is just being moved from DistUpgradeQuir
[Original Description]
There is code in the ubuntu-
I have just started a release upgrade of an Ubuntu desktop from xenial to bionic with update-manager -d. After leaving it unattended for a while, I came back to find the screen was locked.
/var/log/auth.log includes messages such as:
Jun 26 16:00:45 epona compiz: PAM unable to dlopen(
This indicates a problem dlopen()ing the PAM modules (actual path: /lib/x86_
This is the exact reason the screensaver is supposed to be inhibited on upgrade.
This is also why every sensible screensaver spawns a fresh helper process to handle the authentication through PAM. compiz (unity), apparently, does not.
I do not yet know what symbols have changed to cause this failure. I'm still investigating that.
Related branches
- Steve Langasek: Approve
- Sebastien Bacher: Approve
-
Diff: 186 lines (+66/-56)3 files modifiedDistUpgrade/DistUpgradeController.py (+55/-0)
DistUpgrade/DistUpgradeQuirks.py (+1/-56)
debian/changelog (+10/-0)
tags: | added: id-5b32dfc70f54891287c5942a |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Jean-Baptiste Lallement (jibel) |
assignee: | Jean-Baptiste Lallement (jibel) → nobody |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | Triaged → In Progress |
description: | updated |
Changed in compiz (Ubuntu Bionic): | |
status: | Invalid → Fix Released |
Changed in compiz (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in compiz (Ubuntu Bionic): | |
status: | Fix Released → Invalid |
Changed in compiz (Ubuntu): | |
status: | Fix Released → Triaged |
And then the upgrade gets stuck because of a conffile prompt.