On a fresh installed Illumos/Solaris in a VirtualBox Guest I get the following
error after starting up samba 4.10:
[2019/04/01 09:51:41.112485, 0] ../../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log)
tdb(/var/samba/lock/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for
/var/samba/lock/gencache.tdb: Device busy
[2019/04/01 09:51:41.141396, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'smbd' finished starting up and ready to serve
connections
I compiled samba-4.10.0 on my own, because I want to update respective package.
configure options see below.
Therefore, I basically oriented myself on the working recipe for samba-4.9.5.
However, I get this message with 4.10.0.
There is enough file space and the partition is mounted and the permissions are
the same as with the older samba version. I have no clue why the
"device" should be "busy"...
The configure options were:
CONFIGURE_PREFIX = /usr/lib/samba
CONFIGURE_ENV += CPP="$(CC) -E"
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
CONFIGURE_ENV += CUPS_CONFIG=$(USRBINDIR)/cups-config
CONFIGURE_ENV += PYTHONARCHDIR=$(PYTHON_VENDOR_PACKAGES)/samba
# --enable-fhs should not be on
CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX)
CONFIGURE_OPTIONS += --exec-prefix=$(CONFIGURE_PREFIX)
CONFIGURE_OPTIONS.64 += --bindir=$(CONFIGURE_PREFIX)/bin/$(MACH64)
CONFIGURE_OPTIONS.64 += --sbindir=$(CONFIGURE_PREFIX)/sbin/$(MACH64)
CONFIGURE_OPTIONS.64 += --libdir=$(CONFIGURE_PREFIX)/$(MACH64)
CONFIGURE_OPTIONS.64 +=
--with-privatelibdir=$(CONFIGURE_PREFIX)/private/$(MACH64)
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/samba
CONFIGURE_OPTIONS.64 +=
--with-pammodulesdir=$(CONFIGURE_PREFIX)/security/$(MACH64)
CONFIGURE_OPTIONS += --datarootdir=$(CONFIGURE_PREFIX)
CONFIGURE_OPTIONS += --mandir=$(USRSHAREMANDIR)
CONFIGURE_OPTIONS += --htmldir=/usr/share/samba/swat/help
CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/samba
CONFIGURE_OPTIONS += --with-privatedir=$(ETCDIR)/samba/private
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR)/samba
CONFIGURE_OPTIONS += --with-logfilebase=$(VARDIR)/samba/log
CONFIGURE_OPTIONS += --sharedstatedir=$(VARDIR)/samba/com
CONFIGURE_OPTIONS.64 += --libexecdir=$(CONFIGURE_PREFIX)/libexec/$(MACH64)
CONFIGURE_OPTIONS += --with-bind-dns-dir=$(CONFIGURE_PREFIX)/bind-dns
CONFIGURE_OPTIONS.64 += --with-static-modules=vfs_solarisacl
CONFIGURE_OPTIONS.64 +=
--with-shared-modules=vfs_worm,vfs_zfsacl,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex
CONFIGURE_OPTIONS += --with-ads
CONFIGURE_OPTIONS += --with-winbind
CONFIGURE_OPTIONS += --with-ldap
CONFIGURE_OPTIONS += --with-libldap=ldap_r
CONFIGURE_OPTIONS += --nopyo
CONFIGURE_OPTIONS += --nopycache
CONFIGURE_OPTIONS += --disable-rpath
CONFIGURE_OPTIONS += --bundled-libraries=ALL
CONFIGURE_OPTIONS += --python=$(PYTHON)