[Gluster-users] Packaging of Samba hook scripts

Vijay Bellur vbellur at redhat.com
Thu Feb 13 10:54:03 UTC 2014

On 02/13/2014 01:35 AM, Lalatendu Mohanty wrote:
> Hi All,
> We have 3 hook scripts in glusterfs/extras/hook-scripts named as below.
>   * S30samba-set.sh
>   * S30samba-start.sh
>   * S30samba-stop.sh
> The purpose of the hook scripts to do the required changes in smb.conf
> automatically for each gluster volume start/stop/set operations. Script
> assumes each Gluster nodes will be used as Samba Servers for the Gluster
> volumes. So with hook scripts we dont have to do manual changes to
> smb.conf.
> As of now the scripts will not work with Samba 4.X series and GlusterFS
> vfs plugin for Samba 4.x. It needs a small change and the fix is present
> in Gerrit as below.
> http://review.gluster.org/6991
> Now the question , should we package these scripts in way that it would
> be helpful when somebody uses GlusterFS vfs plugin for Samba with
> GlusterFS? Suggestions?

I think that would be an useful addition.

> I and Kaleb had a discussion on #gluster and came up with below idea.
>   * Samba hook scripts can be packaged as a serrate package e.g. :
>     glusterfs-samba-hooks RPM
>       o The package will be built while building glusterfs
>       o Installing GlusterFS wouldn't install it automatically.
>       o The samba-vfs-glusterfs would require it i.e. it would get
>         installed automatically while installing samba-vfs-glusterfs as
>         a dependency.

Looks like a good proposal to me.


More information about the Gluster-users mailing list