Xenial -> Bionic - System fails to boot after upgrade - gnome-screensaver & gnome-shell fail to start?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
gnome-shell (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Test Case:
1. Install Xenial Desktop with encrypted home
2. Upgrade to bionic
3. Reboot
Actual Result
The system appears to fail to start gnome-shell / gnome-screensaver:
Apr 23 14:17:12 ubuntu dbus-daemon[1645]: [session uid=121 pid=1645] Activating service name='org.
Apr 23 14:17:12 ubuntu org.gnome.
Apr 23 14:17:12 ubuntu gnome-screensav
Apr 23 14:17:12 ubuntu dbus-daemon[1645]: [session uid=121 pid=1645] Activated service 'org.gnome.
Apr 23 14:17:12 ubuntu gnome-session[
Apr 23 14:17:12 ubuntu gnome-session-
Apr 23 14:17:12 ubuntu gnome-shell[1656]: Failed to create backend: Could not find a primary drm kms device
Apr 23 14:17:12 ubuntu gnome-session[
Apr 23 14:17:12 ubuntu gnome-session-
Apr 23 14:17:12 ubuntu gnome-session-
Apr 23 14:17:12 ubuntu gdm-launch-
Apr 23 14:17:12 ubuntu gdm3[1187]: GdmDisplay: display lasted 0.292659 seconds
Apr 23 14:17:12 ubuntu systemd-
Apr 23 14:17:12 ubuntu spice-vdagentd[
Apr 23 14:17:12 ubuntu spice-vdagentd[
Apr 23 14:17:12 ubuntu gdm3[1187]: Child process -1643 was already dead.
Also the system hangs on boot when it activates the encrypted swap. There are the following entries in the journal:
$ journalctl -b-1 -o short-monotonic |grep crypt
[ 1.535326] ubuntu kernel: Key type encrypted registered
[ 125.637205] ubuntu systemd[1]: Dependency failed for Cryptography Setup for cryptswap1.
[ 125.637789] ubuntu systemd[1]: Dependency failed for dev-mapper-
[ 125.638311] ubuntu systemd[1]: Dependency failed for /dev/mapper/
[ 125.639351] ubuntu systemd[1]: dev-mapper-
[ 125.639478] ubuntu systemd[1]: dev-mapper-
[ 125.639594] ubuntu systemd[1]: Dependency failed for Local Encrypted Volumes.
[ 125.640128] ubuntu systemd[1]: cryptsetup.target: Job cryptsetup.
[ 125.640266] ubuntu systemd[1]: <email address hidden>: Job <email address hidden>/start failed with result 'dependency'.
[ 383.902153] ubuntu systemd[1]: Starting Cryptography Setup for cryptswap1...
[ 383.913899] ubuntu systemd-
[ 384.138596] ubuntu systemd[1]: Started Cryptography Setup for cryptswap1.
[ 384.143845] ubuntu systemd[1]: Reached target Local Encrypted Volumes.
[ 384.167475] ubuntu systemd[1]: Found device /dev/mapper/
[ 384.171327] ubuntu systemd[1]: Activating swap /dev/mapper/
[ 384.184639] ubuntu kernel: Adding 2093564k swap on /dev/mapper/
[ 384.191435] ubuntu systemd[1]: Activated swap /dev/mapper/
But eventually activates, once the device is there. Note this is not a hang, as timeouts are reached "instantly".
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cryptsetup 2:2.0.2-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 20 15:56:52 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2018-04-18 (2 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: cryptsetup
UpgradeStatus: Upgraded to bionic on 2018-04-20 (0 days ago)
cmdline: BOOT_IMAGE=
crypttab: cryptswap1 UUID=34ea85fd-
Changed in cryptsetup (Ubuntu): | |
importance: | Undecided → Critical |
tags: |
added: rls-bb-notfixing removed: rls-bb-incoming |
Similar to bug 1736072
Note that in the fstab attached I commented out the swap entry to allow the system to boot.