[Bug 1731870] Re: Failed to start Cryptography Setup for cryptswap1

Jud Taylor 1731870 at bugs.launchpad.net
Fri Dec 29 22:42:38 UTC 2017


New U 17.10 on Lenovo X230.

Bootlog contains

[FAILED] Failed to start Cryptography Setup for cryptswap1.
See 'systemctl status systemd-cryptsetup at cryptswap1.service' for details.

$ systemctl status systemd-cryptsetup at cryptswap1.service

shows

● systemd-cryptsetup at cryptswap1.service - Cryptography Setup for cryptswap1
   Loaded: loaded (/etc/crypttab; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-12-29 17:03:26 EST; 32min ago
     Docs: man:crypttab(5)
           man:systemd-cryptsetup-generator(8)
           man:systemd-cryptsetup at .service(8)
  Process: 5647 ExecStart=/lib/systemd/systemd-cryptsetup attach cryptswap1 /target/swapfile /dev/urandom swap,offset=1024,cipher=aes-xts-p
 Main PID: 5647 (code=exited, status=1/FAILURE)

Dec 29 17:03:26 gt-ThinkPad-X230 systemd[1]: Starting Cryptography Setup for cryptswap1...
Dec 29 17:03:26 gt-ThinkPad-X230 systemd-cryptsetup[5647]: crypt_init() failed: Block device required
Dec 29 17:03:26 gt-ThinkPad-X230 systemd[1]: systemd-cryptsetup at cryptswap1.service: Main process exited, code=exited, status=1/FAILURE
Dec 29 17:03:26 gt-ThinkPad-X230 systemd[1]: Failed to start Cryptography Setup for cryptswap1.
Dec 29 17:03:26 gt-ThinkPad-X230 systemd[1]: systemd-cryptsetup at cryptswap1.service: Unit entered failed state.
Dec 29 17:03:26 gt-ThinkPad-X230 systemd[1]: systemd-cryptsetup at cryptswap1.service: Failed with result 'exit-code'.

Help me, Obiwan...

-- 
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/1731870

Title:
  Failed to start Cryptography Setup for cryptswap1

Status in cryptsetup package in Ubuntu:
  Confirmed

Bug description:
  Fresh install of 17.10.  On first boot, after install, there were no
  issues; the desktop booted fine.  I then ran an `apt upgrade`, set my
  home encryption passphrase and rebooted.  Now, after typing my
  password, rather than Gnome starting, I get systemd errors:

  Failed to start Cryptography Setup for cryptswap1
  Dependency failed for dev-mapper-cryptswap1.device
  Dependency failed for /dev/mapper/cryptswap1

  If I wait long enough, I get the gdm3 login window again.  If I try to
  log in after this, I get the Gnome desktop without any issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1731870/+subscriptions



More information about the foundations-bugs mailing list