touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #65803
[Bug 1437362] Re: cryptswap is hanging during boot
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
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1437362
Title:
cryptswap is hanging during boot
Status in systemd package in Ubuntu:
Incomplete
Bug description:
1) Release=Ubuntu Vivid Vervet (development branch), 15.04 (MATE Beta 2). Running in Virtualbox guest 4.3.26, Ubuntu MATE 14.04.2 host.
2) Package=systemd 219-4ubuntu10
3) Boot time to get to user login screen was 30 seconds with Ubuntu MATE 15.04 Alpha and Beta 1 (systemd=219-4ubuntu5). I expected that boot time would not deviate much with Beta 2.
4) Boot time to get to user login screen is 1 minute 30 seconds at a minimum with Ubuntu MATE 15.04 Beta 2 (systemd=219-4ubuntu10).
See the attached screenshots showing boot messages. Boot proceeds slowly starting at or after:
Started LSB: Start NTP daemon
ntp.service
[** ] (x of x) A start job is running for....
This area of the boot, if you will, takes well over a minute to
complete.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1437362/+subscriptions
References