[Pkg-samba-maint] Bug#930540: samba-vfs-modules: /usr/lib/x86_64-linux-gnu/samba/vfs/nfs4acl_xattr.so No such file or directory

Gary Richards gary+debian.org at dsnine.co.uk
Fri Jun 14 21:03:24 BST 2019


Package: samba-vfs-modules
Version: 4.9.5+dfsg-4
Severity: normal

Dear Maintainer,

I have been attempting to build a samba ad dc in a buster container to run on a
platform where /var/lib/samba will be an NFSv4 mount. When trying to provision
the domain with samba-tool I receive an error:

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

Which I believe is because NFSv4 has its own ACL concept, which isn't posix
ACLs.

Further digging has suggested that I probably want to enable the nfs4acl_xattr
vfs module. I tried this as an argument to my samba-tool provision command:

samba-tool domain provision --use-rfc2307 --domain=${SAMBA_DOMAIN}
--realm=${SAMBA_REALM} --server-role=dc --dns-backend=BIND9_DLZ
--adminpass=${SAMBA_DOMAIN_PASSWORD} --option "bind interfaces only = yes"
--option "interfaces = lo net1" --option "vfs objects = nfs4acl_xattr"

But it results in a new error:

Error loading module '/usr/lib/x86_64-linux-gnu/samba/vfs/nfs4acl_xattr.so':
/usr/lib/x86_64-linux-gnu/samba/vfs/nfs4acl_xattr.so: cannot open shared object
file: No such file or directory

I believe this would be expected to come from samba-vfs-modules, but that file
is not in that package. Or any other package as far as I can tell.
Interestingly samba-vfs-modules does seem to contain the following file:

/usr/share/man/man8/vfs_nfs4acl_xattr.8.gz

Which I guess is the man page for the module that i'm trying to use. But the
module isn't there.

Thanks

Gary



-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages samba-vfs-modules depends on:
ii  libbsd0     0.9.1-2
ii  libc6       2.28-10
ii  libtalloc2  2.1.14-2
ii  libtdb1     1.3.16-2+b1
ii  libtevent0  0.9.37-1
ii  samba-libs  2:4.9.5+dfsg-4

Versions of packages samba-vfs-modules recommends:
pn  libcephfs2   <none>
ii  libdbus-1-3  1.12.12-1
pn  libgfapi0    <none>

samba-vfs-modules suggests no packages.



More information about the Pkg-samba-maint mailing list