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

From: Steve Kemp <steve_at_steve.org.uk>
Date: Fri, 5 Jan 2007 10:11:39 +0000
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
-- 
Received on Fri Jan 05 2007 - 10:13:33 GMT

Mailing list overview.