ACLs and samba4

Janos Dohanics web at 3dresearch.com
Fri Aug 29 16:17:20 UTC 2014


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


More information about the freebsd-questions mailing list