Created attachment 15180 [details] truss log from "smbd -i" This might be related to #13961 as I just commented out the test mentioned there in waf and everything seemed to build. But smbd is not starting and failing on illumos/solaris... tdb(/var/samba/lock/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/samba/lock/gencache.tdb: Device busy I did a truss log (sort of like strace on linux) atlas# truss -o smbd_i.log smbd -i smbd version 4.10.3 started. Copyright Andrew Tridgell and the Samba Team 1992-2019 Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED lp_load_ex: refreshing parameters Initialising global parameters Processing section "[global]" Processing section "[share]" Processing section "[documents]" Processing section "[series]" Processing section "[downloads]" Processing section "[movies]" Processing section "[music]" Processing section "[anime]" Processing section "[backups]" Processing section "[timemachine]" Processing section "[software]" Processing section "[sjorge_photography]" Processing section "[sjorge_targets]" adding IPC service interpret_interface: using netmask value 32 from config file on interface net1 added interface net1 ip=10.23.20.100 bcast=10.23.20.255 netmask=255.255.255.255 interpret_interface: Adding interface 2001:470:7ee7:20::100/128 added interface 2001:470:7ee7:2 ip=2001:470:7ee7:20::100 bcast=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff netmask=0.0.0.128 loaded services INFO: Profiling support unavailable in this build. tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy Failed to fetch domain sid for WORKGROUP tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy tdb(/var/lock/samba/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/lock/samba/gencache.tdb: Device busy Initialise the svcctl registry keys if needed. Initialise the eventlog registry keys if needed. waiting for connections Allowed connection from 10.23.10.152 (10.23.10.152) init_oplocks: initializing messages. Server exit (failed to receive smb request) The truss log is attached to the bug.
Looks like someone already hit this on the mailing list too http://lists-archives.com/samba/119029-gencache-tdb-device-busy.html
This doesn't look related to #13961 as fix provided there, has the same effect as my hacky fix I used.