Bug 1073415

Summary: Automatically generate lvm.conf out of centralized description
Product: [Fedora] Fedora Reporter: Peter Rajnoha <prajnoha>
Component: lvm2Assignee: David Teigland <teigland>
Status: CLOSED RAWHIDE 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, prockai, zkabelac
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.119-1.fc23 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-04 13:06:05 UTC 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 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.)