Package: glusterfs
Version: 3.5.2-2+deb8u2

when invoking geo-replication as described

# gluster system:: execute gsec_create
# gluster system:: execute gsec_create container
# gluster volume geo-replication VOL REMOTEHOST::RVOL create push-pem 

there will be pen-files created with following contents:

command="/usr/libexec/glusterfs/gsyncd"  ssh-rsa AA...

This is wrong. There is no /usr/libexec in Debian.
It is created by the faulty script 

/usr/lib/x86_64-linux-gnu/glusterfs/peer_gsec_create

To remove the bug simply replace

output1=`echo command=\"${exec_prefix}/libexec/glusterfs/gsyncd\" " "``cat 
"$GLUSTERD_WORKING_DIR"/geo-replication/secret.pem.pub`

by 

output1=`echo command=\"${exec_prefix}/lib/x86_64-linux-gnu/glusterfs/gsyncd\" 
" "``cat "$GLUSTERD_WORKING_DIR"/geo-replication/secret.pem.pub`

But it could be a good idea to use a real detection routine instead.

Best regards
Frank Rust

------------------------------------------------------------------------
Frank Rust                           Technische Universität Braunschweig

Reply via email to