From owner-freebsd-questions@FreeBSD.ORG Fri Aug 29 16:49:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA60A2EF for ; Fri, 29 Aug 2014 16:49:13 +0000 (UTC) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99C7815DD for ; Fri, 29 Aug 2014 16:49:12 +0000 (UTC) Received: by mail-ig0-f171.google.com with SMTP id l13so9934347iga.4 for ; Fri, 29 Aug 2014 09:49:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-type; bh=pKIV6s6JgCzaKzUqrvWHG46+aQaPHViXGkiLmEGyJMQ=; b=UiDsaTzN0hg960Sc497yP3bm+z9NDCC8inxjXV7Tff2t3uYHXIq05U5ngudpcojwGL ugus0OzIeXg27eailtgyFQV3flGMJ9T14TwdLDBrtb8SuLz9Smy8v1zYcxi57xGMhhwb qPxOON/IchNbtNruDqsZxlnlKdthAqT9Uw4rEKv6rTszrYF+hlvR3q6O4Yz0t0+HJxFi uxt864UTll/KNUohWeceCw6a2skhlrcTnVzUc9R7mSWZwjQ1JC3eDyIl9xQJ6CEz2VOp eBcSsxib+ez+YCvukenrv7RddDQ+zyQvgfIN5FBZToWTTfFM6dJRIgKQu5fl0xPqWqI8 DkwA== X-Gm-Message-State: ALoCoQlY8eGNrMmDrE/j+ZPUvf/F9J2lJboOxu5dksFG9IMGdbub4gYEFojoQEDLUEbWJbemFKSi X-Received: by 10.50.111.225 with SMTP id il1mr5474249igb.28.1409330952010; Fri, 29 Aug 2014 09:49:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.137.9 with HTTP; Fri, 29 Aug 2014 09:48:51 -0700 (PDT) From: "Timur I. Bakeyev" Date: Fri, 29 Aug 2014 18:48:51 +0200 Message-ID: Subject: Re: ACLs and samba4 To: Janos Dohanics Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 16:49:13 -0000 I believe that Samba provisioning is quite Linux specific and no effort have been done to make it work with UFS. It's well known, that it doesn't work with ZFS either. My limited knowledge of Python doesn't allow me to hack it to work :( Also, can you provide output of the 'mount' command? Could it be that ACLs didn't turn on despite fstab entry? With regards, Timur. On Fri, Aug 29, 2014 at 6:06 PM, Janos Dohanics wrote: > Hello List, > > I'm getting an error as I try to use /usr/local/bin/samba-tool domain > provision (FreeBSD 10.0-STABLE #0 r269827 i386): > > #/usr/local/bin/samba-tool domain provision > [...] > Setting up self join > ERROR(): Provision failed - > ProvisioningError: Your filesystem or build does not support posix ACLs, > which s3fs requires. Try the mounting the filesystem with the 'acl' option. > > But I did enable ACLs using tunefs(8): > > # tunefs -p /dev/mirror/gm6 > tunefs: POSIX.1e ACLs: (-a) enabled > tunefs: NFSv4 ACLs: (-N) disabled > tunefs: MAC multilabel: (-l) disabled > tunefs: soft updates: (-n) enabled > tunefs: soft update journaling: (-j) enabled > tunefs: gjournal: (-J) disabled > tunefs: trim: (-t) disabled > tunefs: maximum blocks per file in a cylinder group: (-e) 4096 > tunefs: average file size: (-f) 16384 > tunefs: average number of files in a directory: (-s) 64 > tunefs: minimum percentage of free space: (-m) 8% > tunefs: space to hold for metadata blocks: (-k) 6408 > tunefs: optimization preference: (-o) time > tunefs: volume label: (-L) > > # cat /etc/fstab > # Device Mountpoint FStype Options Dump Pass# > /dev/mirror/gm2 / ufs rw 1 1 > /dev/mirror/gm3 none swap sw 0 0 > /dev/mirror/gm4 /var ufs rw 2 2 > /dev/mirror/gm5 /tmp ufs rw 2 2 > /dev/mirror/gm6 /usr ufs rw,acls 2 2 > > What am I doing wrong? > > -- > Janos Dohanics > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >