Bug 1216908 - [RFE] Add possibility to do in-place edits in lvm.conf file and merge existing lvmconf script functionality into lvmconfig command (former lvm dumpconfig)
Summary: [RFE] Add possibility to do in-place edits in lvm.conf file and merge existin...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: LVM Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-29 07:54 UTC by Peter Rajnoha
Modified: 2024-08-12 10:54 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-08-12 10:54:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.

Comment 1 Peter Rajnoha 2024-08-12 10:54:54 UTC
The lvmconf's script usage is very minimal now, the options it sets are deprecated or replaced by a different functionality. We haven't used lvmconf for any new functionality. Also, we already document in our product's documentation what needs to be changed in lvm.conf directly to achieve a goal. If there's user demand for this feature, we can revisit.


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