[Bug 1765724] Re: Xenial -> Bionic - System fails to boot after upgrade - systemd-cryptsetup at cryptswap1.service fails to start
Ian Hodgson
hodgson.ian75 at gmail.com
Fri Apr 20 14:27:05 UTC 2018
I am finding something possibly related (as are a few that have posted
on Reddit). After update I can boot but I get 'welcome to ubuntu' screen
and everything freezes. I can press enter to get through the welcome
wizard but after that nothing works except the mouse pointer. Boring
into Wayland doesn't work either. I can Alt F3 and login to a terminal.
Could someone advise me what to do from here so I can provide a log.
Ian
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1765724
Title:
Xenial -> Bionic - System fails to boot after upgrade - systemd-
cryptsetup at cryptswap1.service fails to start
Status in cryptsetup package in Ubuntu:
New
Status in systemd package in Ubuntu:
New
Bug description:
Test Case:
1. Install Xenial Desktop with encrypted home
2. Upgrade to bionic
3. Reboot
Actual Result
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-cryptswap1.device.
[ 125.638311] ubuntu systemd[1]: Dependency failed for /dev/mapper/cryptswap1.
[ 125.639351] ubuntu systemd[1]: dev-mapper-cryptswap1.swap: Job dev-mapper-cryptswap1.swap/start failed with result 'dependency'.
[ 125.639478] ubuntu systemd[1]: dev-mapper-cryptswap1.device: Job dev-mapper-cryptswap1.device/start failed with result 'dependency'.
[ 125.639594] ubuntu systemd[1]: Dependency failed for Local Encrypted Volumes.
[ 125.640128] ubuntu systemd[1]: cryptsetup.target: Job cryptsetup.target/start failed with result 'dependency'.
[ 125.640266] ubuntu systemd[1]: systemd-cryptsetup at cryptswap1.service: Job systemd-cryptsetup at cryptswap1.service/start failed with result 'dependency'.
[ 383.902153] ubuntu systemd[1]: Starting Cryptography Setup for cryptswap1...
[ 383.913899] ubuntu systemd-cryptsetup[672]: Set cipher aes, mode xts-plain64, key size 256 bits for device /dev/disk/by-uuid/34ea85fd-854b-4892-95b9-7073dd2dbf7b.
[ 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/cryptswap1.
[ 384.171327] ubuntu systemd[1]: Activating swap /dev/mapper/cryptswap1...
[ 384.184639] ubuntu kernel: Adding 2093564k swap on /dev/mapper/cryptswap1. Priority:-2 extents:1 across:2093564k FS
[ 384.191435] ubuntu systemd[1]: Activated swap /dev/mapper/cryptswap1.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cryptsetup 2:2.0.2-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
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-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: cryptsetup
UpgradeStatus: Upgraded to bionic on 2018-04-20 (0 days ago)
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-15-generic root=UUID=ba774fed-a987-4070-9571-0e4790b08680 ro recovery nomodeset
crypttab: cryptswap1 UUID=34ea85fd-854b-4892-95b9-7073dd2dbf7b /dev/urandom swap,offset=1024,cipher=aes-xts-plain64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1765724/+subscriptions
More information about the foundations-bugs
mailing list