+++ This bug was initially created as a clone of Bug #1541568 +++ Description of problem: 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' Version-Release number of selected component (if applicable): mainline
(In reply to Anoop C S from comment #0) > 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 See https://review.gluster.org/c/glusterfs/+/21124 > Bad script logic > - volume info file needs to be checked for presence of all configuration > possibilities 'user.smb|user.cifs' = 'enable|on' > > Version-Release number of selected component (if applicable): > mainline https://review.gluster.org/c/glusterfs/+/19204 will be re-considered for reconciling the logic used.
REVIEW: https://review.gluster.org/19204 (Fix logic in S30samba-start.sh hook script) posted (#7) for review on master by Anoop C S
REVIEW: https://review.gluster.org/19204 (Do not blindly add volume share section to smb.conf) posted (#9) for review on master by Amar Tumballi
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-6.0, please open a new bug report. glusterfs-6.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2019-March/000120.html [2] https://www.gluster.org/pipermail/gluster-users/