Bug 765421 (GLUSTER-3689) - rpms are non relocatable
Summary: rpms are non relocatable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3689
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-03 22:23 UTC by vida.zach
Modified: 2013-12-19 00:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-11 08:14:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description vida.zach 2011-10-03 22:23:23 UTC
When attempting to install the gluster-core and other component rpms. 

[root@diesel ~]# rpm -ivh --test glusterfs-core-3.2.4-1.x86_64.rpm --prefix=/usr
warning: glusterfs-core-3.2.4-1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID cae81a29
error: package glusterfs-core is not relocatable


/opt(default directory) is read-only making the package uninstallable.

This affects the following packages.

glusterfs-core-3.2.4-1.x86_64.rpm
glusterfs-debuginfo-3.2.4-1.x86_64.rpm
glusterfs-fuse-3.2.4-1.x86_64.rpm
glusterfs-geo-replication-3.2.4-1.x86_64.rpm
glusterfs-rdma-3.2.4-1.x86_64.rpm

Comment 1 Lakshmipathi G 2011-10-04 03:43:46 UTC
installing with relocate option instead of prefix  - 
#rpm -ivh --relocate /=/rpmtest glusterfs-core-3.2.4-1.fc11.x86_64.rpm
installs binary under a directory named "/rpmtest".

Comment 2 vida.zach 2011-10-04 13:26:35 UTC
(In reply to comment #1)
> installing with relocate option instead of prefix  - 
> #rpm -ivh --relocate /=/rpmtest glusterfs-core-3.2.4-1.fc11.x86_64.rpm
> installs binary under a directory named "/rpmtest".

While, this is a work around. You end up with all the other files located in the target directory. Libraries won't be linked correctly, and paths need to be updated, init scripts fixed. Most other rpms respect the prefix option.

Comment 3 Niels de Vos 2012-10-11 08:14:03 UTC
(In reply to comment #0)
> 
> /opt(default directory) is read-only making the package uninstallable.

The current packages and the ones from the Fedora maintainer do not install under /opt anymore.

Please use the packages from http://repos.fedorapeople.org/repos/kkeithle/glusterfs/ instead.


Note You need to log in before you can comment on or make changes to this bug.