Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1544852 - build: glusterfs.spec %post ganesha is missing %{?rhel} test
build: glusterfs.spec %post ganesha is missing %{?rhel} test
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: build (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.4.0
Assigned To: Jiffin
Manisha Saini
:
Depends On:
Blocks: 1503137 1544824
  Show dependency treegraph
 
Reported: 2018-02-13 10:55 EST by Kaleb KEITHLEY
Modified: 2018-09-20 11:49 EDT (History)
6 users (show)

See Also:
Fixed In Version: glusterfs-3.12.2-5
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-04 02:42:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2607 None None None 2018-09-04 02:43 EDT

  None (edit)
Description Kaleb KEITHLEY 2018-02-13 10:55:32 EST
Description of problem:

In RHGS-3.3.x the glusterfs.spec has

%if ( 0%{?_build_server} )
%if ( ( 0%{?fedora} && 0%{?fedora} > 25 ) || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%post ganesha
semanage boolean -m ganesha_use_fusefs --on
exit 0
%endif
%endif

but the RHGS-3.4 version has just

%if ( 0%{?_build_server} )
%if( 0%{?fedora} && 0%{?fedora} > 25 )
%post ganesha
semanage boolean -m ganesha_use_fusefs --on
exit 0
%endif
%endif

which is causing nfs-ganesha to fail to start.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 2 Kaleb KEITHLEY 2018-02-13 11:02:34 EST
don't forget the matching change in %postun ganesha
Comment 8 Kaleb KEITHLEY 2018-02-19 12:36:22 EST
The changes required (described above) are not in the upstream 3.10 branch. There are no changes AFAICT related to ganesha in the upstream release-3.10 spec.

The changes described, were added directly to the glusterfs.spec in the dist repo for RHGS-3.3.  For RHGS-3.3 they were made  in v3.8.4-30.

The glusterfs.spec(.in) that's in the glusterfs-3.12.2.tar.gz does not have semanage commands either. There is no patch to that file that we can send that will apply cleanly. It has to be done by hand. I believe there is enough context above for the changes to be made directly to the glusterfs.spec now, just as they were made for 3.8.4-30.
Comment 14 errata-xmlrpc 2018-09-04 02:42:41 EDT
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/RHSA-2018:2607

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