[PATCH] Fix failures on re-provision incorrectly blamed on posix acl support.

Garming Sam garming at catalyst.net.nz
Tue Feb 4 15:41:26 MST 2014

On 02/02/14 19:58, Andrew Bartlett wrote:
> On Sat, 2014-02-01 at 12:24 +0000, Ali Bendriss wrote:
>> On 02/01/2014 12:21 PM, Ali Bendriss wrote:
>>> Hi,
>>> Maybe you have missed this error message carefully
>>>     File
>>> "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line
>>> 2052, in provision
>>>       raise ProvisioningError("Your filesystem or build does not support
>>> posix ACLs, which s3fs requires.  Try the mounting the filesystem with
>>> the 'acl' option.")
>> Sorry, I've missed that / was already having the acl enable.
> I do want to apologise.  This is a regression in Samba, since early 4.0,
> one of those annoying cases where fixing other issues created this one.
> I need to find the patch I did to have it remove the empty sam.ldb that
> is created during our probe of ACL support.  In the meantime, the
> workaround is to wipe the private directory.
> Sorry,
> Andrew Bartlett

Here is a patch to fix this failure. The test for posix acl support has 
now just been moved to a later point so the sam.ldb problems are avoided.


Garming Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-provision-Fix-failures-on-re-provision-incorrectly-b.patch
Type: text/x-patch
Size: 3883 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140205/444c52f7/attachment.bin>

More information about the samba-technical mailing list