Bug 1216908

Summary: [RFE] Add possibility to do in-place edits in lvm.conf file and merge existing lvmconf script functionality into lvmconfig command (former lvm dumpconfig)
Product: [Fedora] Fedora Reporter: Peter Rajnoha <prajnoha>
Component: lvm2Assignee: LVM Team <lvm-team>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, msnitzer, prajnoha, zkabelac
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Rajnoha 2015-04-29 07:54:13 UTC
The former lvm dumpconfig originally used to simply dump existing configuration has evolved into an LVM command (lvmconfig) used to handle LVM configuration in general.

Add support for performing in-place edits in lvm.conf by using lvmconfig command (or simply generating the new config file, keeping existing settings and format from original config file and changing settings needed, then overwriting the original config - still needs a design decision). Hence, make it also possible to merge the functionality that is currently provided by lvmconf script. This script currently uses "sed" heavily to do the substitutions and all the editing. This should be all replaced by lvmconfig functionality in the end.