[Bugs] [Bug 1602824] SMBD crashes when streams_attr VFS is used with Gluster VFS

bugzilla at redhat.com bugzilla at redhat.com
Thu May 23 10:14:05 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1602824



--- Comment #4 from ryan at magenta.tv ---
I've carried out some more testing with Samba 4.9.8 and two the different
Gluster VFS plugins and have found the standard 'glusterfs' causes and issue
when used in conjunction with fruit.
SMB.conf below:
------------------------------------------------------------------------------------------------------------

[global]
security = ADS
workgroup = MAGENTA
realm = MAGENTA.LOCAL
netbios name = DEVCLUSTER01
max protocol = SMB3
min protocol = SMB2
ea support = yes
clustering = yes
server signing = no
max log size = 10000
glusterfs:loglevel = 5
log file = /var/log/samba/log-%M.smbd
logging = file
log level = 3
template shell = /sbin/nologin
winbind offline logon = false
winbind refresh tickets = yes
winbind enum users = Yes
winbind enum groups = Yes
allow trusted domains = yes
passdb backend = tdbsam
idmap cache time = 604800
idmap negative cache time = 300
winbind cache time = 604800
idmap config magenta:backend = rid
idmap config magenta:range = 10000-999999
idmap config * : backend = tdb
idmap config * : range = 3000-7999
guest account = nobody
map to guest = bad user
force directory mode = 0777
force create mode = 0777
create mask = 0777
directory mask = 0777
hide unreadable = no
store dos attributes = no
unix extensions = no
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
glusterfs:volfile_server = localhost
kernel share modes = No
strict locking = auto
oplocks = yes
durable handles = yes
kernel oplocks = no
posix locking = no
level2 oplocks = no
readdir_attr:aapl_rsize = yes
readdir_attr:aapl_finder_info = no
readdir_attr:aapl_max_access = no

[VFS_Apple_Tests]
read only = no
guest ok = yes
vfs objects = catia fruit streams_xattr glusterfs
glusterfs:volume = mcv01
path = "/data"
recycle:keeptree = yes
recycle:directory_mode = 0770
recycle:versions = yes
recycle:repository = .recycle
recycle:subdir_mode = 0777
valid users = "nobody" @"audio" "MAGENTA\r.launchbury"

[FUSE_Apple_Tests]
read only = no
guest ok = yes
vfs objects = catia fruit streams_xattr glusterfs_fuse
path = "/mnt/mcv01/data"
recycle:repository = .recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:directory_mode = 0770
recycle:subdir_mode = 0777

------------------------------------------------------------------------------------------------------------

Testing:
Using Finder and OS X 10.14.4

- Connect to each share
- Try to create a folder in sub-folder of each share

Result: 
- Share 'VFS_Apple_Tests' produced error -50
- Share 'FUSE_Apple_Tests' worked as expected

Debug level 10 logs attached

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list