Bug 1073415 - Automatically generate lvm.conf out of centralized description
Summary: Automatically generate lvm.conf out of centralized description
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Teigland
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-06 11:59 UTC by Peter Rajnoha
Modified: 2015-05-04 13:06 UTC (History)
11 users (show)

Fixed In Version: lvm2-2.02.119-1.fc23
Clone Of:
Environment:
Last Closed: 2015-05-04 13:06:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Rajnoha 2014-03-06 11:59:26 UTC
We have lots of configuration settings and it would be nice to have a centralized description (which we already have in a way in lib/config/config_settings.h) from which we could automatically generate the lvm.conf (including the comments) and lvm.conf man page entries so everything is always in sync and documented properly.

This could be an lvm dumpconfig extension. It would be very much like the existing "lvm dumpconfig --type default" we already have, but it would also include the extra (long) commentaries we have in the default lvm.conf at the moment, including examples etc.

(This is low prio, but if there's some spare time to look at this in more detail it shouldn't be hard to add this functionality).

Comment 1 Peter Rajnoha 2014-04-15 08:19:58 UTC
This should also include automatic generation of default.profile.

Comment 2 Peter Rajnoha 2015-04-24 09:23:08 UTC
(This is actually the same as bug #1038524, but for Fedora.)


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