Skip to contentSkip to conversation

configure sbindir default

Cluster-devel David Teigland 2 participants 3 messages Sep 6, 2007

lore
Share & tools
lore
#0 lore raw

It looks to me like configure should be setting the default sbindir to {prefix}/usr/sbin instead of {prefix}/sbin.

As it is now, using openais DESTDIR=/ and the default cluster/configure settings, aisexec is installed to /usr/sbin/aisexec but cman_tool looks for it in /sbin/aisexec and fails.

Dave

#1 lore raw
Quoted 8 lines · David Teigland

It looks to me like configure should be setting the default sbindir to {prefix}/usr/sbin instead of {prefix}/sbin.

As it is now, using openais DESTDIR=/ and the default cluster/configure settings, aisexec is installed to /usr/sbin/aisexec but cman_tool looks for it in /sbin/aisexec and fails.

Dave

I just noticed the discussion on IRC. I will look into it in a more deep way. There are a lot of default paths that do not really make sense and we should review.

For instance we install some stuff in / other in /usr. but /usr can be on its own partition and not mounted at the time we start the cluster making some bits unavailable and so on.

Anyway it is possible to override all of them by configure and I agree we should be more consistent across. We should also look into other dependencies like openais, libxml2 and etc. and see how far we can get but at some point it needs to be a distribution decision where to place the whole thing.

Fabio

Signature · 1 line
I'm going to make him an offer he can't refuse.
#2 lore raw
Quoted 11 lines · Fabio Massimo Di Nitto
Quoted 6 lines · David Teigland

It looks to me like configure should be setting the default sbindir to {prefix}/usr/sbin instead of {prefix}/sbin.

As it is now, using openais DESTDIR=/ and the default cluster/configure settings, aisexec is installed to /usr/sbin/aisexec but cman_tool looks for it in /sbin/aisexec and fails.

I just noticed the discussion on IRC. I will look into it in a more deep way. There are a lot of default paths that do not really make sense and we should review.

Perhaps, but in this case the default *was* /usr/sbin, which worked, before the new configure which changed it to /sbin.