Incorrect dependency in initramfs script, system fails to boot. Patch attached

Bug #72387 reported by Johan Kiviniemi
6
Affects Status Importance Assigned to Milestone
lvm-common (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This affects feisty.

scripts/local-top/lvm should depend on scripts/local-top/mdadm, which depends on scripts/local-top/udev. Instead the lvm script depends on 'md'.

On my system, the lvm script is run before the udev script, which makes it unable to find the HDD, on which a LVM root partition resides.

The attached patch fixes the dependency.

Revision history for this message
Johan Kiviniemi (ion) wrote :
description: updated
description: updated
Revision history for this message
Ming Hua (minghua) wrote :

I am having exactly the same problem.

Changing the scripts /usr/share/initramfs-tools/{hooks,scripts/local-top}/lvm and use PREREQ="mdadm" instead of PREREQ="md" indeed makes the system boot again.

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

lvm-common (1.5.20ubuntu8) feisty; urgency=low

  * Change local-top and hook prereq on mdadm and not md.
  (Closes Ubuntu: #72387)

  * Bump Depends on mdadm to make sure mdadm is available.

 -- Fabio M. Di Nitto <email address hidden> Mon, 20 Nov 2006 12:18:40 +0100

Changed in lvm-common:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.