[Bugs] [Bug 1575707] Gluster volume smb share options are getting overwritten after restating the gluster volume

bugzilla at redhat.com bugzilla at redhat.com
Wed May 9 13:35:16 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1575707

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19972 committed in release-4.1 by
"Shyamsundar Ranganathan" <srangana at redhat.com> with a commit message-
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#1575707
BUG: 1575707
Signed-off-by: Anoop C S <anoopcs at redhat.com>
(cherry picked from commit 33131131469e18d3ebbdc6ce741c2984dc77b290)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=cMA17NVooy&a=cc_unsubscribe


More information about the Bugs mailing list