Red Hat Bugzilla – Bug 173155
kernel dm: DM_LIST_VERSIONS_CMD ioctl reponse truncated
Last modified: 2007-11-30 17:07:21 EST
In some circumstances the LIST_VERSIONS (dmsetup targets) output is truncated
because the size calculation forgets about a 'uint32_t' in each
structure - but the inclusion of the whole of ALIGN_MASK frequently
compensates for the omission.
(This is a quick workaround to use an upper bound. The code ought
to be fixed to supply the actual size.)
As a result of this bug, 'lvcreate --type error' fails when it shouldn't.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.