How did you install this system? I selected the default "encrypted on
LVM" option in ubiquity, but this creates a single encrypted PV with a
single VG "ubuntu" that has two LVs, one for root and one for swap:

fstab:
/dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0

crypttab:
vda5_crypt UUID=66e69938-a18e-4ad3-8a43-93f6a53d68c8 none luks,discard

That has been Ubuntu's standard LVM+cryptsetup layout forever, so
apparently you did something else to get the randomized cryptswap
partitions?

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

Title:
  Systemd takes very long to boot with error in swap mounting

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  My system boots almost instantly with upstart. Today i tried booting with 
systemd via the additional grub option.
  However, with systemd it takes really long to boot but – so long that i 
forced a reboot once because i thought i got stuck.

  Looking in to boot journal, i found the following error concerning the swap:
  Mär 07 09:28:00 darw1n systemd[1]: dev-sda3.swap swap process exited, 
code=exited status=255
  Mär 07 09:28:00 darw1n systemd[1]: Failed to activate swap Swap Partition.
  Mär 07 09:28:00 darw1n systemd[1]: Unit dev-sda3.swap entered failed state.

  And this concerning nvidia-persistenced
  Mär 07 09:28:00 darw1n nvidia-persistenced[433]: Started (433)
  Mär 07 09:28:00 darw1n nvidia-persistenced[433]: Failed to query NVIDIA 
devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and 
that user 116 has read and write permissions for thos
  Mär 07 09:28:00 darw1n nvidia-persistenced[433]: The daemon no longer has 
permission to remove its runtime data directory /var/run/nvidia-persistenced

  I checked that /dev/sda3 exists and is a swap partition and i check for the 
/dev/nvidia files:
  $ ls -Alst /dev/nvidia0
  0 crw-rw-rw- 1 root root 195, 0 Mär  7 09:29 /dev/nvidia0

  However, the interesting part is here, where nothing seems to happen for a 
minute: (see the timestamps):
  Mär 07 09:28:01 darw1n systemd[1]: Started LSB: AppArmor initialization.
  Mär 07 09:28:31 darw1n systemd-journal[234]: Forwarding to syslog missed 99 
messages.
  Mär 07 09:29:29 darw1n systemd[1]: Job 
dev-disk-by\x2duuid-0b93a0a2\x2d115c\x2d4a45\x2d9075\x2d5f31454c5a41.device/start
 timed out.
  Mär 07 09:29:29 darw1n systemd-journal[234]: Forwarding to syslog missed 1 
messages.
  Mär 07 09:29:29 darw1n systemd[1]: Timed out waiting for device 
dev-disk-by\x2duuid-0b93a0a2\x2d115c\x2d4a45\x2d9075\x2d5f31454c5a41.device.
  Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for Cryptography Setup 
for cryptswap1.
  Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for 
dev-mapper-cryptswap1.device.
  Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for 
/dev/mapper/cryptswap1.
  Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for Swap.
  Mär 07 09:29:29 darw1n systemd[1]: Job swap.target/start failed with result 
'dependency'.
  Mär 07 09:29:29 darw1n systemd[1]: Job dev-mapper-cryptswap1.swap/start 
failed with result 'dependency'.
  Mär 07 09:29:29 darw1n systemd[1]: Job dev-mapper-cryptswap1.device/start 
failed with result 'dependency'.
  Mär 07 09:29:29 darw1n systemd[1]: Dependency failed for Encrypted Volumes.
  Mär 07 09:29:29 darw1n systemd[1]: Job cryptsetup.target/start failed with 
result 'dependency'.
  Mär 07 09:29:29 darw1n systemd[1]: Job 
systemd-cryptsetup@cryptswap1.service/start failed with result 'dependency'.
  Mär 07 09:29:29 darw1n systemd[1]: Job 
dev-disk-by\x2duuid-0b93a0a2\x2d115c\x2d4a45\x2d9075\x2d5f31454c5a41.device/start
 failed with result 'timeout'.
  Mär 07 09:29:29 darw1n systemd[1]: Reached target System Initializatio

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: systemd 219-4ubuntu3
  ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
  Uname: Linux 3.16.0-30-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.16.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Mar  7 09:31:09 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-02-05 (29 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 
(20140722.2)
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-30-generic.efi.signed 
root=UUID=63ea7e2a-9b00-4298-b58c-7a68c2775a87 ro vt.handoff=7 
init=/lib/systemd/systemd systemd.debugshell
  SourcePackage: systemd
  UpgradeStatus: Upgraded to vivid on 2015-02-23 (11 days ago)
  dmi.bios.date: 12/17/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.60
  dmi.board.name: H97 Performance
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP1.60:bd12/17/2014:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97Performance:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to