The bug report script "/usr/share/bug/grub-pc/script" assumes that the route to
root access is via "su". This is not the case on all systems, especially since
the current installer offers a direct means of locking the root account and
enabling "sudo" for the first configured user.
cat <<EOF
Information on any LVM volumes on this system is valuable to the GRUB
developers, but gathering this information requires the root password.
EOF
yesno "Do you want to provide LVM volume information?" nop
if [ "$REPLY" = yep ]; then
echo >&3
echo "*********************** BEGIN LVM" >&3
su root -c "vgdisplay; pvdisplay; lvdisplay" >&3
echo "*********************** END LVM" >&3
fi