[Bug 1672659] [NEW] Upstart waits indefinitely for LVM devices making boot process hang

Marcin Krol 1672659 at bugs.launchpad.net
Tue Mar 14 09:52:32 UTC 2017


Public bug reported:

After upgrading one of my machines from 14.04 to 16.04 and switching
back to upstart the system stopped booting. It turned out that after
initramfs inovokes /sbin/init system hangs on mountall job waiting
indefinitely for LVM devices to appear.

Problem affects all 16.04 installations (both 14.04 upgrades or fresh
ones) where LVM devices are included in /etc/fstab. Below are example
log entries that are filling /var/log/upstart/mountall.log when
"init=/sbin/upstart --debug" is added to kernel command line:

try_mount: /var/lib/postgresql waiting for device
try_mount: /var/spool/bacula waiting for device
try_mount: UUID=886c73fd-8392-4361-956e-9cda47b0eb65 waiting for device

My system is:

Description:    Ubuntu 16.04.2 LTS
Release:        16.04

All devices in fstab are referenced by UUIDs.

To workaround the problem simple script executing "lvm vgchange -ay"
must be created and placed in /etc/initramfs-tools/scripts/local-top

Problem doesn't exist when using systemd.

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Upstart waits indefinitely for LVM devices making boot proces hang
+ Upstart waits indefinitely for LVM devices making boot process hang

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

Title:
  Upstart waits indefinitely for LVM devices making boot process hang

Status in upstart package in Ubuntu:
  New

Bug description:
  After upgrading one of my machines from 14.04 to 16.04 and switching
  back to upstart the system stopped booting. It turned out that after
  initramfs inovokes /sbin/init system hangs on mountall job waiting
  indefinitely for LVM devices to appear.

  Problem affects all 16.04 installations (both 14.04 upgrades or fresh
  ones) where LVM devices are included in /etc/fstab. Below are example
  log entries that are filling /var/log/upstart/mountall.log when
  "init=/sbin/upstart --debug" is added to kernel command line:

  try_mount: /var/lib/postgresql waiting for device
  try_mount: /var/spool/bacula waiting for device
  try_mount: UUID=886c73fd-8392-4361-956e-9cda47b0eb65 waiting for device

  My system is:

  Description:    Ubuntu 16.04.2 LTS
  Release:        16.04

  All devices in fstab are referenced by UUIDs.

  To workaround the problem simple script executing "lvm vgchange -ay"
  must be created and placed in /etc/initramfs-tools/scripts/local-top

  Problem doesn't exist when using systemd.

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



More information about the foundations-bugs mailing list