[xen-tools] Re: lvcreate not found on fedora

Steve Kemp steve at steve.org.uk
Fri Jan 5 11:11:39 CET 2007


On Thu, Jan 04, 2007 at 09:11:42PM +0100, Henning Sprang wrote:

> On Fedora, lvcreate (and other lvm tools) are placed in /usr/sbin,
> while xen-tools expects them to be in /sbin - that breaks lvm installs

  Right, thanks.

> When there'd be something in the Makefile that sets theses pathes,
> probing for /usr/sbin and /sbin,  one could check it and give Fedora
> users an out-of-the box working xen-tools install. (apart from other
> problems I'll hopefully not find :) )

  I guess there are two approaches here:

    1.  Use unqualified paths, so "lvcreate" rather than "/sbin/lv.." or
       "/usr/sbin/lv.."

    2.  Allow the paths to be read from the configuration file - and 
       ideally set them at install time.

  I'd be tempted to go the former route as that is simpler and doesn't
 have any obvious side effects.  Trojans aren't really an issue unless
 root is being careless ..

  Any preference the other way before I commit?

Steve
-- 





More information about the xen-tools-discuss mailing list