glusterfs/extras/hook-scripts
Anoop C S 3313113146 extras/hooks: Do not blindly remove volume share from smb.conf
When Gluster volumes are shared via Samba, any extra smb.conf parameter
setting done by administrator to those shares are lost during restart
of the volume. Instead of removing the whole share completely from
smb.conf(via hook scripts during volume stop) it is better to make it
temporarily unavailable to end-users till the volume is started again.
Therefore we make use of a smb.conf parameter named 'available'[1] to
achieve the above intend.

[1] https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html

Change-Id: I68a9055b50791f6ffd3b95a3c13d858a75fa6530
fixes: bz#1558921
BUG: 1558921
Signed-off-by: Anoop C S <anoopcs@redhat.com>
2018-05-07 05:04:04 +00:00
..
add-brick hooks: fix workdir in S13create-subdir-mounts.sh 2018-03-07 07:39:28 +00:00
create build: add --without-server option 2018-02-19 17:38:55 +00:00
delete build: add --without-server option 2018-02-19 17:38:55 +00:00
reset glusterd/ganesha : handle volume reset properly for ganesha options 2016-12-06 22:09:39 -08:00
set extras/hooks: Do not blindly remove volume share from smb.conf 2018-05-07 05:04:04 +00:00
start extras/hooks: Do not blindly remove volume share from smb.conf 2018-05-07 05:04:04 +00:00
stop extras/hooks: Do not blindly remove volume share from smb.conf 2018-05-07 05:04:04 +00:00
Makefile.am extras/hook-scripts: SELinux brick file context management scripts 2017-05-01 09:30:01 +00:00
S40ufo-stop.py core/build/various: python3 compat, prepare for python2 -> python3 2018-04-12 11:04:27 +00:00
S56glusterd-geo-rep-create-post.sh tests: Enable geo-rep test cases 2018-01-05 07:08:10 +00:00