Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1387404

Summary: geo-rep: gsync-sync-gfid binary installed in /usr/share/...
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: buildAssignee: Sheetal Pamecha <spamecha>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: atumball, avishwan, bugs, hgowtham, rkothiya, sunkumar
Target Milestone: ---Keywords: EasyFix, StudentProject, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-30 04:22:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kaleb KEITHLEY 2016-10-20 19:48:30 UTC
Description of problem:

rpmlint post build on SuSE build system reports an _error_:

glusterfs.x86_64: E: arch-dependent-file-in-usr-share (Badness: 590) /usr/share/glusterfs/scripts/gsync-sync-gfid
This package installs an ELF binary in the /usr/share  hierarchy, which is
reserved for architecture-independent files.

Version-Release number of selected component (if applicable):

3.8.x, 3.9, master

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

gsync-sync-gfid should probably be installed in /usr/libexec/ganesha/... or similar.

Additional info:

https://build.opensuse.org/build/home:kkeithleatredhat:Leap42.1-3.8/openSUSE_Leap_42.1/x86_64/GlusterFS-3.8.5/_log

Comment 1 Amar Tumballi 2019-05-09 20:25:33 UTC
```
glusterfs.spec.in:1205:     %{_datadir}/glusterfs/scripts/gsync-sync-gfid
```

The above line is the reason for this rpmlint error, and we should consider changing it to different location if that is the norm.

Comment 2 Worker Ant 2019-07-16 13:20:15 UTC
REVIEW: https://review.gluster.org/23059 (build: move gsync-sync-gfid from /usr/share to /usr/libexec) posted (#1) for review on master by Sheetal Pamecha

Comment 3 Worker Ant 2019-08-30 04:22:43 UTC
REVIEW: https://review.gluster.org/23059 (build: move arch-dependent files from /usr/share to /usr/libexec) merged (#4) on master by Amar Tumballi