Bug 165255 - clvm rpm missing dependency on mkinitrd
Summary: clvm rpm missing dependency on mkinitrd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: lvm2-cluster
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alasdair Kergon
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-05 22:05 UTC by Adam "mantis" Manthei
Modified: 2010-01-12 04:03 UTC (History)
2 users (show)

Fixed In Version: U2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 19:38:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam "mantis" Manthei 2005-08-05 22:05:18 UTC
Description of problem:
In order to create an initrd that doesn't panic when upgrading a system that has
already been configured for clvm (i.e. locking_library = "liblvm2clusterlock.so"
 and locking_type = 2), mkinitrd with the "--ignorelockingfailure" option
appended to the lvm command is needed. 

Since panicking systems due to upgrading the lvm and kernel packages has been
addressed by mkinitrd (bug #151172), it should be an obvious requirement to make
clvm's package depend on it.


Version-Release number of selected component (if applicable):
# rpm -qa | grep lvm
lvm2-cluster-2.01.09-5.0.RHEL4
system-config-lvm-0.9.18-1.0
lvm2-2.01.14-1.0.RHEL4


How reproducible:
everytime

Steps to Reproduce:
1. have mkinitrd older than 4.2.1.2-1 installed
2. install lvm2-cluster
3. upgrade kernel

  
Actual results:
without the dependency, an initrd can be created with clustering enabled in
/etc/lvm/lvm.conf that will cause the lvm tools to fail, resulting in a system panic

Expected results:
system boots after upgrading lvm2 and lvm2-cluster

Additional info:
The initrd issue is fixed in mkinitrd version 4.2.1.3-1
# grep ignore /sbin/mkinitrd
         # ignore the absence of the scsi modules
     echo "lvm vgscan --ignorelockingfailure" >> $RCFILE
     echo "lvm vgchange -ay --ignorelockingfailure $root_vg" >>            $RCFILE

#rpm -qa | grep mkinitrd
mkinitrd-4.2.1.3-1

Comment 1 Adam "mantis" Manthei 2005-08-05 22:06:20 UTC
assigning to package maintainer (agk)

Comment 3 Alasdair Kergon 2005-08-16 20:14:46 UTC
Adding to 2.01.09-6


Note You need to log in before you can comment on or make changes to this bug.