[Gluster-devel] Gluster and FreeBSD

Nigel Babu nigelb at redhat.com
Tue Sep 20 03:46:54 UTC 2016


On Fri, Sep 09, 2016 at 06:07:41PM +0530, Nithya Balachandran wrote:
> Hi,
>
> I recently debugged a problem [1] where linkfiles were not created properly
> a gluster volume created using bricks running UFS . Whenever a linkfile was
> created, the sticky bit was not set on it causing the same file to be
> listed twice.
>
> From  https://www.freebsd.org/cgi/man.cgi?query=chmod&sektion=2
>
> The FreeBSD VM system totally ignores the sticky bit (S_ISVTX) for
> executables. On UFS-based file systems (FFS, LFS) the sticky bit may only
> be set upon directories.
>
> Based on this I do not think we can support UFS bricks for gluster volumes.
> However, I have not worked with FreeBSD so I would like folks who have to
> let me know if this is correct or if there is something I am missing.
>
> I was able to force the sticky bit on a file using a testfile attached to
> [1] but it is not straightforward and I am reluctant to propose this.
>
> Thanks,
> Nithya
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1176011

Giving this thread a signal boost. We should think about this if we're going to
continue to support *BSD.

Emmanuel, I know you work on NetBSD, but do you have thoughts to add here?

--
nigelb


More information about the Gluster-devel mailing list