Bug 765421 (GLUSTER-3689)

Summary: rpms are non relocatable
Product: [Community] GlusterFS Reporter: vida.zach
Component: buildAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, lakshmipathi, ndevos, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-11 08:14:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.