[Bug 1778817] Re: release upgrade from xenial to bionic desktop: screen locks itself, password to unlock fails
Steve Langasek
steve.langasek at canonical.com
Thu Jul 5 07:41:04 UTC 2018
syslog search for 'inhibit':
$ zgrep -i inhibit /var/log/syslog.*
/var/log/syslog.5.gz:Jun 26 11:56:40 epona org.freedesktop.Notifications[1961]: ** (notify-osd:2212): WARNING **: dnd_is_idle_inhibited(): got error "No such method 'IsInhibited'"
$
so, not interesting.
/var/log/dist-upgrade/main.log attached. Critical section is:
2018-06-26 15:30:27,637 DEBUG found components: {'bionic': {'universe', 'multiverse', 'main', 'restricted'}, 'bionic-security': {'universe', 'multiverse', 'main', 'restricted'}, 'bionic-updates': {'universe', 'multiverse', 'main', 'restricted'}}
2018-06-26 15:55:19,566 DEBUG plugins for condition 'StartUpgrade' are '[]'
2018-06-26 15:55:19,567 DEBUG plugins for condition 'bionicStartUpgrade' are '[]'
2018-06-26 15:55:19,567 DEBUG plugins for condition 'from_xenialStartUpgrade' are '[]'
2018-06-26 15:55:19,567 DEBUG quirks: running StartUpgrade
[...]
2018-06-26 15:55:19,571 DEBUG killing update-notifier
2018-06-26 15:55:19,587 DEBUG killing kblueplugd kbluetooth4
2018-06-26 15:55:19,605 DEBUG killing gnome-screensaver
2018-06-26 15:55:19,614 DEBUG setup poke timer for the scrensaver
2018-06-26 15:55:19,626 DEBUG inhibit gnome-session idle
2018-06-26 15:55:19,630 DEBUG apt btrfs snapshots supported: False
2018-06-26 15:55:19,630 INFO cache.commit()
2018-06-26 15:55:19,630 DEBUG failed to SystemUnLock() (E:Not locked)
2018-06-26 16:17:28,618 DEBUG got a conffile-prompt from dpkg for file: '/etc/ssh/ssh_config'
I'm not sure, could the problem be that the inhibit was not emitted
until long after the last prompt before the upgrade started?
** Attachment added: "main.log"
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1778817/+attachment/5159864/+files/main.log
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1778817
Title:
release upgrade from xenial to bionic desktop: screen locks itself,
password to unlock fails
Status in compiz package in Ubuntu:
New
Status in ubuntu-release-upgrader package in Ubuntu:
Triaged
Status in compiz source package in Bionic:
New
Status in ubuntu-release-upgrader source package in Bionic:
Triaged
Bug description:
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.
There is code in the ubuntu-release-upgrader to handle this
(DistUpgrade/DistUpgradeQuirks.py:DistUpgradeQuirks._inhibitIdle).
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(pam_unix.so):
/lib/security/pam_unix.so: cannot open shared object file: No such
file or directory
This indicates a problem dlopen()ing the PAM modules (actual path:
/lib/x86_64-linux-gnu/security/pam_unix.so) because some ABI has
changed in the system libraries, and the copy loaded into the running
compiz process does not have the symbols required in order to run this
module.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1778817/+subscriptions
More information about the foundations-bugs
mailing list