On Thu, Feb 28, 2013 at 03:35:13PM -0500, Luke Varnadore wrote:
This was the change that moved the lvm tools:
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packa...
I wouldn't know if libvirt needed to be changed to support finding them
when configuring, but that sounds like it should happen if it isn't.
On Wed, Feb 20, 2013 at 12:07 PM, Eric Blake <eblake(a)redhat.com> wrote:
> On 02/20/2013 09:40 AM, Luke Varnadore wrote:
> > It was a distro specific issue. Arch Linux has the lvm tools in /usr/sbin
> > instead of /sbin. I made links for lvs, vgs, and vgchange and the issue
> > cleared up. Reported a bug for the package.
>
> Is it also a case of upstream libvirt having a bug for not checking at
> configure time for the preferred location of these tools, but just using
> a hard-coded location for them?
Libvirt checks at configure time
AC_PATH_PROG([PVCREATE], [pvcreate], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([VGCREATE], [vgcreate], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([LVCREATE], [lvcreate], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([PVREMOVE], [pvremove], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([VGREMOVE], [vgremove], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([LVREMOVE], [lvremove], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([LVCHANGE], [lvchange], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([VGCHANGE], [vgchange], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([VGSCAN], [vgscan], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([PVS], [pvs], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([VGS], [vgs], [], [$PATH:/sbin:/usr/sbin])
AC_PATH_PROG([LVS], [lvs], [], [$PATH:/sbin:/usr/sbin])
So perhaps Arch didn't rebuild their libvirt package, after they moved
all the LVM tools.
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|