Bug 1350745

Summary: build: remove absolute paths from glusterfs spec file
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Milind Changire <mchangir>
Component: buildAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: Vinayak Papnoi <vpapnoi>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: atumball, kkeithle, mchangir, sanandpa, sheggodu
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.z Batch Update 3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.2-33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1350793 (view as bug list) Environment:
Last Closed: 2019-02-04 07:41:25 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:
Bug Depends On: 1350793, 1351711    
Bug Blocks:    

Description Milind Changire 2016-06-28 09:30:41 UTC
Remove references to absolute paths from spec file:
1. /sbin/mount.glusterfs
2. /usr/lib/firewalld/services/glusterfs.xml

Comment 2 Kaleb KEITHLEY 2016-06-28 15:13:05 UTC
I believe the best we can do is change /usr/lib/firewalld/... to %{_prefix}/lib/firewalld/...

E.g. the nfs-utils.rpm .spec file has hard-coded (absolute) paths for /sbin/mount.nfs*

And the firewalld.rpm .spec file has %{_prefix}/lib/firewalld/...

Between autoconf and rpm there are no other config options or macros to use.

Comment 3 Amar Tumballi 2018-11-20 05:30:51 UTC
I guess this is already resolved as CURRENT-RELEASE, as 3.12 upstream itself had all the required fixes IMO.

Comment 12 errata-xmlrpc 2019-02-04 07:41:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0263