Bug 1171477 - Hook scripts are not installed after make install
Summary: Hook scripts are not installed after make install
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: 3.5.3
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1174765 1302955
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-07 15:22 UTC by David Gibbons
Modified: 2016-06-17 15:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1174765 (view as bug list)
Environment:
Last Closed: 2016-06-17 15:56:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
Hooks source directory listing (1.56 KB, text/plain)
2014-12-07 15:22 UTC, David Gibbons
no flags Details
directory listing after make install (870 bytes, text/plain)
2014-12-07 15:24 UTC, David Gibbons
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1105283 0 medium CLOSED Failure to start geo-replication. 2021-02-22 00:41:40 UTC

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.


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