I don't think this is the right fix. We need to test that it doesn't prevent vgscan from finding and creating /dev/vg/lv device files outside of of multipath.
The real fix involves:
1) omitting the call to vgmknodes if there are no volume groups present
2) if vgnodes are present, device_mapper/libdm-common.c should determine if DM_DISABLE_LIBRARY_FALLBACK should be set in the same way that dmsetup.c does.
I don't think this is the right fix. We need to test that it doesn't prevent vgscan from finding and creating /dev/vg/lv device files outside of of multipath.
The real fix involves:
1) omitting the call to vgmknodes if there are no volume groups present mapper/ libdm-common. c should determine if DM_DISABLE_ LIBRARY_ FALLBACK should be set in the same way that dmsetup.c does.
2) if vgnodes are present, device_
I'd much prefer upstream to produce a proper fix.