Thanks Martin.  Yes, that sounds like it because after I captured your
below output, I commented out cryptswap1 and it boots quickly.  I'll
post the output of systemd-analyze critical-chain again after I reboot
to capture it.

um@um:~$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @1min 36.507s
└─ntp.service @1min 41.887s +28ms
  └─network-online.target @1min 36.483s
    └─network.target @1min 31.150s
      └─NetworkManager.service @1min 30.352s +796ms
        └─basic.target @1min 30.328s
          └─sockets.target @1min 30.328s
            └─dbus.socket @1min 30.328s
              └─sysinit.target @1min 30.322s
                └─networking.service @701ms +174ms
                  └─local-fs.target @693ms
                    └─media-um-VBOXADDITIONS_4.3.26_989881.mount @1min 42.004s
                      └─dev-sr0.device @551ms

um@um:~$ cat /etc/fstab
# Removed comments to save space on the post..
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu--mate--vg-root /               ext4    errors=remount-ro 0   
    1
# /boot was on /dev/sda1 during installation
UUID=5359f267-7e41-4f26-8019-1067f1bc2e00 /boot           ext2    defaults      
  0       2
/dev/mapper/ubuntu--mate--vg-swap_1 none            swap    sw              0   
    0
/dev/mapper/cryptswap1 none swap sw 0 0

um@um:~$ cat /etc/crypttab
sda5_crypt UUID=d51f28a2-1653-41f4-b847-56c880492e7f none luks,discard
cryptswap1 UUID=a3239201-afba-4b99-87c1-57c0b6c208e8 /dev/urandom 
swap,offset=1024,cipher=aes-xts-plain64

um@um:~$ sudo blkid
[sudo] password for um: 
/dev/mapper/sda5_crypt: UUID="HxZvHu-1h97-0xsi-JLd1-vtAb-oeQk-HI0J8a" 
TYPE="LVM2_member"
/dev/sda1: UUID="5359f267-7e41-4f26-8019-1067f1bc2e00" TYPE="ext2" 
PARTUUID="1ab40460-01"
/dev/sda5: UUID="d51f28a2-1653-41f4-b847-56c880492e7f" TYPE="crypto_LUKS" 
PARTUUID="1ab40460-05"
/dev/sr0: UUID="2015-03-16-17-37-09-00" LABEL="VBOXADDITIONS_4.3.26_98988" 
TYPE="iso9660"
/dev/mapper/ubuntu--mate--vg-root: UUID="a3c2ab9d-4219-4540-97bd-ccf83521281e" 
TYPE="ext4"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437362

Title:
  cryptswap is hanging during boot

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to