Project

General

Profile

Actions

Bug #5492

closed

scripts installing into /usr/usr/sbin (with --prefix=/usr)

Added by Denis kaganovich almost 11 years ago. Updated over 10 years ago.

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

ceph_sbindir.patch (375 Bytes) ceph_sbindir.patch Denis kaganovich, 07/02/2013 08:53 AM
Makefile (7.4 KB) Makefile Yixun Lan, 08/16/2013 12:29 AM
patch-src-Makefile.am (744 Bytes) patch-src-Makefile.am Alan Somers, 09/13/2013 11:39 AM
patch-debian.rules (387 Bytes) patch-debian.rules Alan Somers, 09/13/2013 11:39 AM
Actions

Also available in: Atom PDF