Re: Packaging of Samba hook scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-Vijay

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux