Red Hat Bugzilla – Bug 509709
can't set volume grops via /etc/sysconfig/mkinitrd
Last modified: 2009-07-06 06:03:20 EDT
Created attachment 350533 [details]
Patch to allow setting VG_LIST in /etc/sysconfig/mkinitrd
I install all RPMs into a central repository which is then synced out via rsync to all actual systems. So autodetection of needed modules and settings during mkinitrd does not work and I control what should be in there via entries into /etc/sysconfig/mkinitrd.
But currently you can't control the list of volume groups this way because the variable vg_list is zeroed before usage.
I've attached a small patch which allows to set the volume groups via VG_LIST from /etc/sysconfig/mkinitrd. This is the same way as already done for NET_LIST.
It would be nice if you could apply this patch to rawhide.
Thanks for the patch. I've applied it and it is part of
mkinitrd-6.0.91 which will hit rawhide soon.
Notice that mkinitrd will be replaced with dracut in F-12, and your
time is thus probably better spend testing that and submitting patches
for it, see:
Thanks for applying.
I already had Dracut on my radar for interesting projects to look at but didn't have the time yet. But I didn't know yet that it will be in F12 - so I'll take a look at it soon and make sure that my workflow is supported there too...