External Sync VFS module

Alex Austin aaustin at nevelex.com
Wed Apr 27 15:30:29 UTC 2016

Currently it does not wait for unison to finish, but it would be possible
to make it synchronous within the current protocol spec. I've considered
that, but I don't know how to handle degradation with broken links in that

As for using audit, I tried that, and it brought the file server to its
knees, filling my log filesystem within a day. I think this method makes
far less CPU load.
On Apr 27, 2016 10:12 AM, "Volker Lendecke" <Volker.Lendecke at sernet.de>

> On Tue, Apr 26, 2016 at 04:51:51PM -0500, Alex Austin wrote:
> > Hello,
> > I've written a Samba VFS module to run an external file-sync program, and
> > would appreciate feedback.
> Question -- would the full_audit module and something scanning syslog
> output also help you?
> full_audit can do syslog messages per operation, and if you appropriately
> configure your syslog daemon to send the messages to unison in a proper
> format, you might get away without having to modify Samba. The main
> difference is that going via syslog is even more asynchronous, but if
> I read your code correctly the vfs module does not wait for unison to
> complete its job, right?
> Volker
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
> http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list