Bug 1011951 - Audit --force and prompt use in lvm commands
Summary: Audit --force and prompt use in lvm commands
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.0
Hardware: All
OS: Linux
low
low
Target Milestone: pre-dev-freeze
: ---
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1469559
TreeView+ depends on / blocked
 
Reported: 2013-09-25 12:40 UTC by Alasdair Kergon
Modified: 2021-09-03 12:51 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 887240
Environment:
Last Closed: 2020-08-19 21:18:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Alasdair Kergon 2013-09-25 12:40:53 UTC
+++ This bug was initially created as a clone of Bug #887240 +++

Always accept -f with all commands, including ones where they do nothing, to make scripting/testing simpler.  Consider an arg to suppress all prompts - something the external library requires.

Comment 1 Marian Csontos 2013-09-25 13:02:57 UTC
Would an environment variable be a better choice so one can use same scripts to run by hand and by automated tools?

Comment 2 Alasdair Kergon 2013-09-25 13:14:35 UTC
We could add an environment variable as well, containing a (restricted?) set of default arguments applied to all commands, but let's not further extend this bugzilla.

Comment 3 Jonathan Earl Brassow 2014-09-24 03:20:49 UTC
Audit of the 'force' option will need to wait for 6.7.


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