configure sbindir default
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
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/aisexecbutcman_toollooks for it in/sbin/aisexecand 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.
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/aisexecbutcman_toollooks for it in/sbin/aisexecand 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.