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

Bug 1171477

Summary: Hook scripts are not installed after make install
Product: [Community] GlusterFS Reporter: David Gibbons <david.c.gibbons>
Component: buildAssignee: bugs <bugs>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.3CC: bugs, lmohanty
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1174765 (view as bug list) Environment:
Last Closed: 2016-06-17 15:56: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:
Bug Depends On: 1174765, 1302955    
Bug Blocks:    
Attachments:
Description Flags
Hooks source directory listing
none
directory listing after make install none

Description David Gibbons 2014-12-07 15:22:48 UTC
Created attachment 965580 [details]
Hooks source directory listing

Description of problem:
When GLusterFS is built from source, the hook scripts are not copied over to /var/lib/glusterd/hooks as part of the install make target.

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

How reproducible:
5 times on 5 makes of Gluster on CentOS 6.4

Steps to Reproduce:
1. Download source and build
2. Observe that directories are created in /var/lib/glusterd/hooks, but hook scripts are not copied over

Actual results:
Hook scripts are not present in hooks directories

Expected results:
Hook scripts should be present in hooks directories after running make install

Additional info:
Attaching directory listings for the hooks directory post-install and in the source folder.

Comment 1 David Gibbons 2014-12-07 15:24:06 UTC
Created attachment 965581 [details]
directory listing after make install

Comment 2 Niels de Vos 2014-12-16 12:49:13 UTC
The hook scripts are manually installed in the glusterfs.spec. It is much better to install these scripts when "make install" is run. This would make it much more common user experience on all distributions and manual installations.

Comment 3 Niels de Vos 2016-06-17 15:56:43 UTC
This bug is getting closed because the 3.5 is marked End-Of-Life. There will be no further updates to this version. Please open a new bug against a version that still receives bugfixes if you are still facing this issue in a more current release.