Bug 1199885

Summary: geo-rep: Proper Libexec directory in gsec_create command
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-27 10:10:33 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:

Description Aravinda VK 2015-03-09 06:09:44 UTC
Description of problem:
After gluster system execute:: gsec_create command, common_secret.pem.pub file will get created in $GLUSTERD_WORKDIR/ which adds command=/usr/libexec/glusterfs with ssh key. In Ubuntu/Debian, libexec path is different. /usr/lib/x86_64-linux-gnu/glusterfs/ 

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


How reproducible:
Always.

Steps to Reproduce:
1. Run gluster system:: execute gsec_create
2. Check common_secret.pem.pub file in $GLUSTERD_WORKDIR(/var/lib/glusterd in fedora)
3. Check the proper command option in pub file.

Actual results:
command=/usr/libexec/glusterfs/gsyncd ssh-rsa...

Expected results:
In Ubuntu,
command="/usr/lib/x86_64-linux-gnu/glusterfs/gsyncd" ssh-rsa...

Additional info:

Comment 1 Aravinda VK 2016-01-27 10:10:33 UTC

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