Actions
Bug #5492
closedscripts installing into /usr/usr/sbin (with --prefix=/usr)
Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
At least in some cases, scripts (ceph-disk*, ceph-create-keys) installing into /usr/usr/sbin. This happened while "ceph_sbindir = $(prefix)$(sbindir)" in src/Makefile.am and "./configure --prefix=/usr ..." (Gentoo's default configure call). I don't dig too deep, but IMHO it can be result of "prefix=" & "exec_prefix=" disorder. Fixed for me by "ceph_sbindir = $(sbindir)" (I don't try other configure behaviors, but looks universal).
I use and suggest attached patch.
Files
Actions