You should be able to add the "noauto" option to the devices in
/etc/crypttab which you don't rely on for booting.

** Changed in: systemd (Ubuntu)
       Status: New => Incomplete

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

Title:
  15.10: Long boot-time delays trying to find disconnected hot-plugged
  storage devices

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Is there a way to prevent systemd from creating generator targets for
  hot-plug disks?

  Currently it is causing very long delays at boot-time - which are not
  interruptible by the sys-admin - but I'm not sure at what point
  systemd decided those hot-plug devices should be added to the boot-
  time tasks, or how to safely delete them.

  There are generator rules added at some stage but I cannot find
  information on how to safely remove them, or how to prevent them being
  created.

  In this output the device-mapper names prefixed LUKS_HDD_ are the
  problem:

  $ ls -l /var/run/systemd/generator/*
  -rw-r--r-- 1 root root 486 Sep  2 11:45 /var/run/systemd/generator/boot.mount
  -rw-r--r-- 1 root root 486 Sep  2 11:45 /var/run/systemd/generator/home.mount
  -rw-r--r-- 1 root root 294 Sep  2 11:45 /var/run/systemd/generator/-.mount
  -rw-r--r-- 1 root root 933 Sep  2 11:45 
/var/run/systemd/generator/systemd-cryptsetup@LUKS_BOOT.service
  -rw-r--r-- 1 root root 933 Sep  2 11:45 
/var/run/systemd/generator/systemd-cryptsetup@LUKS_DATA.service
  -rw-r--r-- 1 root root 887 Sep  2 11:45 
/var/run/systemd/generator/systemd-cryptsetup@LUKS_HDD_OS.service
  -rw-r--r-- 1 root root 887 Sep  2 11:45 
/var/run/systemd/generator/systemd-cryptsetup@LUKS_HDD_VM.service
  -rw-r--r-- 1 root root 929 Sep  2 11:45 
/var/run/systemd/generator/systemd-cryptsetup@LUKS_OS.service
  -rw-r--r-- 1 root root 491 Sep  2 11:45 
/var/run/systemd/generator/usr-local.mount
  -rw-r--r-- 1 root root 485 Sep  2 11:45 /var/run/systemd/generator/var.mount

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1491393/+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