Bug 244650 - LVM should still capture signals when prompting the user
Summary: LVM should still capture signals when prompting the user
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Petr Rockai
QA Contact: Corey Marthaler
Depends On:
TreeView+ depends on / blocked
Reported: 2007-06-18 11:43 UTC by Milan Broz
Modified: 2013-03-01 04:05 UTC (History)
6 users (show)

Clone Of:
Last Closed: 2007-11-07 16:48:55 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0516 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2007-10-30 16:18:33 UTC

Description Milan Broz 2007-06-18 11:43:56 UTC
+++ This bug was initially created as a clone of Bug #180286 +++
RHEL5 clone

Description of problem:
I have 200 LVs and accidently tried to remove them without the "-f" flag. This
results in a prompt for every LV and I just have the time to type "y" 200 times.
Other cmds capture signals when prompting, so lvm should as well.

[root@link-08 tmp]# ls [tab]
Display all 161 possibilities? (y or n)
[root@link-08 tmp]#

[root@link-08 bin]# lvremove /dev/corey*
Do you really want to remove active logical volume "vol0"? [y/n]: y

Comment 2 RHEL Product and Program Management 2007-06-19 16:44:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 4 Corey Marthaler 2007-06-27 21:25:38 UTC
fix verified in lvm2-2.02.26-1.el5.

Comment 6 errata-xmlrpc 2007-11-07 16:48:55 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 the 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.


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