RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1440766 - lvm2 - SIGINT leaves inconsistent metadata
Summary: lvm2 - SIGINT leaves inconsistent metadata
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.4
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Heinz Mauelshagen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-10 12:41 UTC by Heinz Mauelshagen
Modified: 2021-09-03 12:38 UTC (History)
9 users (show)

Fixed In Version: lvm2-2.02.170-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 21:52:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2222 0 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2017-08-01 18:42:41 UTC

Description Heinz Mauelshagen 2017-04-10 12:41:00 UTC
Description of problem:
lvcreate or lvconvert can be interrupted via SIGINT leaving inconsistent metadata behind.  Same likely applies to other metadata updating commands.

Version-Release number of selected component (if applicable):
  LVM version:     2.02.167(2) (2016-11-05)
  Library version: 1.02.139-git (2017-03-28)
  Driver version:  4.35.0

How reproducible:
Almost always

Steps to Reproduce:
1. create/convert an e.g. RaidLV and send SIGIN (i.e. press ^C) immediately
2. vgs fails on inconsistent metadata
3.

Actual results:
vgs (and other commands) fail on inconsistent metadata

Expected results:
Consistent metadata either w/ or w/o the change via lvcreate/lvconvert

Additional info:

Comment 2 Heinz Mauelshagen 2017-04-10 15:33:42 UTC
There's an OBO bug in sigint_allow() causing the _oldmasked members to be set inproperly.

Comment 3 Heinz Mauelshagen 2017-04-10 16:17:14 UTC
Upstream commit 9a689fb8f0a6b1675a4e819f4837bf2e0269832f

Comment 4 Heinz Mauelshagen 2017-04-10 16:31:34 UTC
And upstream commit 4e21159a7f2c8d2806890b743866a0b9702e7532

Comment 7 errata-xmlrpc 2017-08-01 21:52:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2222


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