Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 12:06:29 -0400
From:      Janos Dohanics <web@3dresearch.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   ACLs and samba4
Message-ID:  <20140829120629.b4ef9cf54a9190f8e8bd0754@3dresearch.com>

next in thread | raw e-mail | index | archive | help
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(<class 'samba.provision.ProvisioningError'>): 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140829120629.b4ef9cf54a9190f8e8bd0754>