[Bug 1554795] Re: timeout on restart or shutdown with LUKS root

Ian vallamost at gmail.com
Fri May 20 15:28:33 UTC 2016

Are there any workarounds for this for already installed Ubuntu

I have a laptop user that is  having 3+ minute shutdowns for this LUKS
timeout issue.

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.

  timeout on restart or shutdown with LUKS root

Status in initramfs-tools package in Ubuntu:
Status in systemd package in Ubuntu:

Bug description:
  Using the server install ISO, it's possible to specify root on LUKS
  and variations thereof - for instance, root on LUKS on MD-RAID, root
  on LVM on LUKS on MD-RAID, and so forth. The installer does the right
  thing and initramfs-tools does everything necessary to support booting
  this sort of thing.

  However, systemd gives a 90-second timeout on restart or shutdown,
  presumably because it cannot dispose of the things beneath root.

  It's wholly unclear to me where the 90-second timeout is specified,
  should I wish to shorten it to reboot without the futile delay, but
  more to the point, there seems to be infrastructure for handling this
  kind of situation that doesn't exist in Ubuntu at present.

  I was pointed at this:


  However, Ubuntu seems not to have anything in its initramfs-tools to
  facilitate "shutdown-initrd" functionality.

  I haven't tested this, but I suspect this problem will exist for folks
  running root on MD-RAID without the LUKS as well. Either way, a
  relatively common vanilla install will force 90-second timeouts on
  users, which is unfortunate.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: systemd 229-2ubuntu1 [modified: usr/share/dbus-1/system-services/org.freedesktop.systemd1.service]
  ProcVersionSignature: Ubuntu 4.4.0-11.26-generic 4.4.4
  Uname: Linux 4.4.0-11-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  Date: Tue Mar  8 18:06:45 2016
  InstallationDate: Installed on 2016-02-24 (13 days ago)
  InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160219)
   Bus 002 Device 002: ID 1058:0820 Western Digital Technologies, Inc. My Passport Ultra (WDBMWV, WDBZFP)
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
   Bus 001 Device 002: ID 046d:c318 Logitech, Inc. Illuminated Keyboard
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
   PATH=(custom, no user)
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-11-generic.efi.signed root=/dev/mapper/hostname-root ro net.ifnames=0 biosdevname=0
  SourcePackage: systemd
   [EXTENDED]   /lib/systemd/system/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
   [EXTENDED]   /lib/systemd/system/rc-local.service → /lib/systemd/system/rc-local.service.d/debian.conf
   2 overridden configuration files found.
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/04/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F1
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: X150M-PRO ECC-CF
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  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.:bvrF1:bd12/04/2015:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnX150M-PROECC-CF:rvrx.x: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: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list