Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jan 2024 16:17:08 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Muhammad Moinur Rahman <bofh@freebsd.org>, timur@FreeBSD.org
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: fabf8b5d1165 - main - Mk/bsd.default-versions.mk: Switch SAMBA default to 4.16
Message-ID:  <50f703b9c47f1d6d13a4a60b02387ef1@Leidinger.net>
In-Reply-To: <202312310426.3BV4QYB6034355@gitrepo.freebsd.org>
References:  <202312310426.3BV4QYB6034355@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_599d5790e388894989e55f19745fda91
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

Am 2023-12-31 05:26, schrieb Muhammad Moinur Rahman:
> The branch main has been updated by bofh:
> 
> URL: 
> https://cgit.FreeBSD.org/ports/commit/?id=fabf8b5d116512e2c0339c1a17340370d753e271
> 
> commit fabf8b5d116512e2c0339c1a17340370d753e271
> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> AuthorDate: 2023-12-31 01:29:20 +0000
> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
> CommitDate: 2023-12-31 03:51:03 +0000
> 
>     Mk/bsd.default-versions.mk: Switch SAMBA default to 4.16

I have tried samba 4.16 after this commit on FreeBSD-current in a jail. 
This doesn't work. The samba shares are physically on zfs, which are 
nullfs mounted into a jail which runs samba and exports to Windows 11 
and Windows 10. I can see the directory contents, but when I try to 
access a file (e.g. text file), Windows tells me it can not access the 
file. The samba log contains in the log log.<windows_host_name> the 
lines
---snip---
[2024/01/01 16:01:16.059649,  0] 
../../source3/modules/vfs_zfsacl.c:363(fget_zfsacl)
   fget_zfsacl: fdescfs filesystem must be mounted with 'nodup' option
---snip---

Inside this jail I have this:
---snip---
# mount -v | grep fdesc
fdescfs on /dev/fd (fdescfs, vnodes: count 5 )
fdescfs on /var/run/samba4/fd (fdescfs, vnodes: count 2 )
---snip---

The second fdescfs (in the samba pid dir) is mounted from the jail-host 
with the options rw,noatime,nodup.

This doesn't look to me that samba 4.16 is ready on FreeBSD to replace 
4.13.

I'm aware that there is a big VFS change in samba which is the cause of 
this new bug, and I understand the need to change the default away from 
4.13, but having the default on something which breaks valid setups will 
cause serious issues and wasted time.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_599d5790e388894989e55f19745fda91
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=833
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmWS14QACgkQEg2wmwP4
2IZiXg//Q5jpT9Pmf9oI9kOO+MTGs1B9Purr6xwNaoiDWUEl8WN9e3S9exB7xxEW
ETNeaPkhwDjcLPJygIPobzFFMbMg+NAFVoNuNmQ06tS1i/7k5sQQrKmqKqv8lChJ
W82J5/WhmDfLp/zVixLOxvAJadtCuDqoheWP5+eeK7Q2V7YDA/BauLEt7w9wAQ04
HGKh4UG+7xw/0YZKiUxijrlSvHyMkoNhKisPwrWOiKcZsFxIjks9cg/ESjEq40L/
jMNGWE5m8BC1zDCzPJplkjyBS300aEu/aYkseXjNm3hzNd+ZubZ0hQMGD00Uv/vf
0aJbnrsXAJguwGOoQBzV6PN2ALpwwzmzEr/AxinfkzH8FDE/uC4xNQf/ogXqR2hk
DEk5nosk5R59jeJsxOcGPlqjumgT6onMYei1qtenrnFUucjImC10AOL4LCAVuRKs
nkjxJuSKWRF68AYtCtnyVXM3YhjdF8nncnhHeDcSGM8o6CEkK08GYdq6AlFge+Qg
eKJ8HtI3b878YVLYItl9Uy+GioLY81TsAUxKiVzAKq6L+XN/0zI4+R277pcNbfw5
FRN6K3GN806t9hXgwr0N3YjpTt8fakQBW3dkCmMvn9AkLme09m3cEZxq8iuap2su
HiRoaFpkzXYtdiuyCPTQnAcHt7ciGPm7MPrh5+PbmTX0sCipwcA=
=d8mS
-----END PGP SIGNATURE-----

--=_599d5790e388894989e55f19745fda91--



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