Bug 601079 - Boot fails with LVM logging to file and / not on LV
Summary: Boot fails with LVM logging to file and / not on LV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2
Version: 5.5
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Milan Broz
QA Contact: Corey Marthaler
URL:
Whiteboard:
: 603088 (view as bug list)
Depends On: 592967
Blocks: 556823
TreeView+ depends on / blocked
 
Reported: 2010-06-07 07:52 UTC by RHEL Program Management
Modified: 2018-10-27 12:03 UTC (History)
18 users (show)

Fixed In Version: lvm2-2.02.56-8.el5_5.5
Doc Type: Bug Fix
Doc Text:
The lvm command used to fail when the log file specified in lvm.conf was not available. This problem is now resolved and the commands simply log the error and continue as if there was no log file specified at all
Clone Of:
Environment:
Last Closed: 2010-07-08 07:16:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0510 0 normal SHIPPED_LIVE lvm2 bug fix update 2010-07-08 07:16:14 UTC

Description RHEL Program Management 2010-06-07 07:52:45 UTC
This bug has been copied from bug #592967 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 4 Milan Broz 2010-06-07 10:48:36 UTC
Fixed in lvm2-2.02.56-8.el5_5.5.

Comment 10 Milan Broz 2010-06-11 14:29:28 UTC
*** Bug 603088 has been marked as a duplicate of this bug. ***

Comment 11 Debbie Johnson 2010-06-15 16:09:31 UTC
Wait a second ...  the customer is using the lvm that you state fixes this issue.

Since lvm2-2.02.56-8.el5, LVM commands do not accept a non-writable log file [ lvm.conf : log { file = "/var/log/lvm2.log" } ]
Any command will refuse to process.
Unfortunately, the result is that LVM will fail VG activation during boot as root is still read-only during activation.

The boot process works fine if the file = "/var/log/lvm2.log" is commented out.

NOTE:  I have reproduced this issue on RHEL6.


Debbie

Comment 12 Debbie Johnson 2010-06-15 16:16:11 UTC
Apologize..  did not notice the _5.5 at the end of the package name..

lvm2-2.02.56-8.el5_5.5


Still question though.. has this been fixed in RHEL6 or does a new BZ need to be opened since I duplicated the issue there?

Thanks,

Debbie

Comment 14 Milan Broz 2010-06-17 13:20:59 UTC
(In reply to comment #12)
> Still question though.. has this been fixed in RHEL6 or does a new BZ need to
> be opened since I duplicated the issue there?

For RHEL6 - probably not yet fixed in current build, but there will be another build including all these upstream patches.

Comment 17 errata-xmlrpc 2010-07-08 07:16:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0510.html

Comment 18 Florian Nadge 2010-07-14 10:13:57 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.

New Contents:
The lvm command used to fail when the log file specified in lvm.conf was not available. This problem is now resolved and the commands simply log the error and continue as if there was no log file specified at all


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