Bug 1293708

Summary: hooks: Ganesha and Samba hooks are always installed
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: scriptsAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.6CC: bugs, gluster-bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1293706 Environment:
Last Closed: 2015-12-28 12:25:22 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: 1174765, 1293706, 1302955    
Bug Blocks:    

Description Kaleb KEITHLEY 2015-12-22 18:57:38 UTC
+++ This bug was initially created as a clone of Bug #1293706 +++

Description of problem:

The Ganesha and Samba hooks are always installed, even if Ganesha and/or Samba aren't installed or used.

The Ganesha hooks invoke showmount, and if rpcbind isn't running then showmount will hang; this breaks regression tests at least.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Kaleb KEITHLEY on 2015-12-22 13:56:53 EST ---

Ganesha and Samba hook scripts probably should be included in the forthcoming common-ha package.

Comment 1 Kaleb KEITHLEY 2015-12-22 18:59:13 UTC
For 3.7 we need to make the (Ganesha) hooks smarter so that they don't do anything if Ganesha isn't installed or running, and in particular, don't invoke showmount if rpcbind isn't running.

Comment 2 Kaleb KEITHLEY 2015-12-28 12:25:22 UTC

*** This bug has been marked as a duplicate of bug 1174765 ***