Hide Forgot
move gluster,glusterfs,glusterd,glusterfsd binaries to /opt/glusterfs/<version> and create symbolic link at /usr/sbin/ . rpm install should start glusterd if glusterd was already running.
PATCH: http://patches.gluster.com/patch/6239 in master (install gluster binaries under /opt/glusterfs/version with sym.link at /usr/bin)
We need to mention in documentation that with 3.1.3 release, the binaries will be placed in '/opt/glusterfs/<version>'
This patch breaks rpm upgrades from 3.1.(<3) as the remove process to remove the old files happens after postinstall. This causes the /usr/sbin/gluster* files to be removed. 1. rpm -i glusterfs-core-3.1.2-1.x86_64.rpm 2. rpm -Uvv glusterfs-core-3.1.3-1.x86_64.rpm 3. ls /usr/sbin/gluster* expected result: /usr/sbin/gluster /usr/sbin/glusterd /usr/sbin/glusterfs /usr/sbin/glusterfsd actual result: ls: /usr/sbin/gluster*: No such file or directory
Created attachment 453
(In reply to comment #4) > Created an attachment (id=453) [details] > Creates and includes links to the /opt/usr/bin/gluster* binaries thanks for the patch.We will apply it.
PATCH: http://patches.gluster.com/patch/6755 in release-3.1 (preserve symlink during rpm upgrade and remove gsync references)
Created attachment 475 The spec file also doesn't correctly create the library references for i386 installations, and doesn't correctly manage the ld.so.conf.d/glusterfs.conf file. This additional patch corrects that (thanks to Scott Zahn).
*** Bug 3218 has been marked as a duplicate of this bug. ***
Thanks (In reply to comment #7) > Created an attachment (id=475) [details] > Patch to correct ldconfig path addition. > > The spec file also doesn't correctly create the library references for i386 > installations, and doesn't correctly manage the ld.so.conf.d/glusterfs.conf > file. This additional patch corrects that (thanks to Scott Zahn). Added the ldconfig,these changes should be available in future releases. Thanks JoeJulian,Scott Zahn.
Created attachment 666
Verified on the 3.3beta2 and 3.2.4qa2 (O.S: CentsOS). The ldconfig patch will be verified and bug will be updated by Lakshmipathi.
CHANGE: http://review.gluster.com/470 (Thanks to) merged in release-3.2 by Vijay Bellur (vijay)
CHANGE: http://review.gluster.com/466 (Thanks to) merged in master by Vijay Bellur (vijay)