Description of problem: Syntax issues (shellcheck) - /var/lib/glusterd/hooks/1/start/post/S30samba-start.sh: line 114: [: =: unary operator expected Hiding unwanted error messages - /var/lib/glusterd/hooks/1/start/post/S30samba-start.sh: line 71: smbd: command not found - Samba is not installed + exit code '1' should be enough Bad script logic - volume info file needs to be checked for presence of all configuration possibilities 'user.smb|user.cifs' = 'enable|on' There is an upstream patch created for these issues here: https://review.gluster.org/#/c/19204/ Version-Release number of selected component (if applicable): RHGS 3.3 Additional info: Please let me know if anything else is needed.
Sorry, closed the wrong bug.
Following required patches landed in upstream: * https://review.gluster.org/c/glusterfs/+/19204 * https://review.gluster.org/c/glusterfs/+/21124
Newly created GlusterFS volumes are not exported as SMB share via Samba unless either of 'user.cifs' or 'user.smb' volume set options are enabled on the volume. The above is validated and is working as expected in glusterfs-3.12.2-34.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0263