Bug 1387404 - geo-rep: gsync-sync-gfid binary installed in /usr/share/...
Summary: geo-rep: gsync-sync-gfid binary installed in /usr/share/...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Sheetal Pamecha
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-20 19:48 UTC by Kaleb KEITHLEY
Modified: 2019-08-30 04:22 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-30 04:22:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23059 0 None Merged build: move arch-dependent files from /usr/share to /usr/libexec 2019-08-30 04:22:42 UTC

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


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