[Samba] bind9 failure when using dlz_bind

Franta Hanzlík franta at hanzlici.cz
Sat Aug 10 21:53:02 UTC 2024


On Mon, 1 Jul 2024 17:16:56 +0100
Rowland Penny via samba <samba at lists.samba.org> wrote:

> On Sat, 29 Jun 2024 12:11:32 -0500
> Samba via samba <samba at lists.samba.org> wrote:
> 
> > Michael,
> > 
> > Thanks for doing the backtrace.  I would have needed a lot of
> > instruction.
> > 
> > Dale
> > 
> > On 06/28/2024 3:12 AM, Michael Tokarev via samba wrote:  
> > > On 6/28/24 08:16, Douglas Bagnall wrote:
> > >  
>  [...]  
> > >
> > >
> > > $ gdb /usr/sbin/named
> > > GNU gdb (Debian 13.2-1+b2) 13.2
> > >
> > > (gdb) ru -4 -d10 -n1 -f -p54 -L /dev/stdout
> > > Starting program: /usr/sbin/named -4 -d10 -n1 -f -p54 -L /dev/stdout
> > > [Thread debugging using libthread_db enabled]
> > > Using host libthread_db library 
> > > "/lib/x86_64-linux-gnu/libthread_db.so.1".
> > > [New Thread 0x7ffff3b7f680 (LWP 546107)]
> > >
> > > Thread 1 "named" received signal SIGSEGV, Segmentation fault.
> > > 0x00007ffff6f35340 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> > > ...
> > > Smells like the stack is damaged..  
> > 
> >   
> 
> OK, see bug https://bugzilla.samba.org/show_bug.cgi?id=15643
> 
> Where Michael Saxl has identified the problem and provided a workaround.
> 
> Seemingly you need to set an environmental variable
> LDB_MODULES_DISABLE_DEEPBIND 
> 
> The easiest way I found to do this was to create a systemd override file
> 
> systemctl edit named.service
> 
> Add (where it tells you to):
> 
> [Service]
> Environment="LDB_MODULES_DISABLE_DEEPBIND=1"
> 
> Save and close the file.
> 
> Now start Bind9
> 
> systemctl start named.service
> 
> It should work.
> 
> Rowland
> 
> -- 

I have about the same crash on Fedora 40 x86_64/bind-9.18.28 and 
Samba 4.20.4 (own build with internal Heimdal, as Fedora build it with
MIT Kerberos - which (IMO) not stable yet).
Named/bind crashes at start with messages in syslog:
...
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: starting BIND 9.18.28 (Extended Support Version) <id:>
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: running on Linux x86_64 6.10.3-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Aug  5 14:30:00 UTC 2024
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: built with  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' ...
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: running as: named -u named -c /etc/named.conf
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: compiled by GCC 14.1.1 20240701 (Red Hat 14.1.1-7)
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: compiled with OpenSSL version: OpenSSL 3.2.1 30 Jan 2024
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: linked to OpenSSL version: OpenSSL 3.2.1 30 Jan 2024
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: compiled with libuv version: 1.48.0
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: linked to libuv version: 1.48.0
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: compiled with libxml2 version: 2.12.8
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: linked to libxml2 version: 21208
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: compiled with json-c version: 0.17
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: linked to json-c version: 0.17
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: compiled with zlib version: 1.3.1.zlib-ng
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: linked to zlib version: 1.3.1.zlib-ng
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: ----------------------------------------------------
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: BIND 9 is maintained by Internet Systems Consortium,
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: corporation.  Support and training for BIND 9 are
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: available at https://www.isc.org/support
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: ----------------------------------------------------
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: adjusted limit on open files from 524288 to 1048576
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: found 2 CPUs, using 2 worker threads
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: using 2 UDP listeners per interface
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: DNSSEC algorithms: RSASHA1 NSEC3RSASHA1 RSASHA256 RSASHA512 ECDSAP256SHA256 ECDSAP384SHA384 ED25519 ED448
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: DS algorithms: SHA-1 SHA-256 SHA-384
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: HMAC algorithms: HMAC-MD5 HMAC-SHA1 HMAC-SHA224 HMAC-SHA256 HMAC-SHA384 HMAC-SHA512
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: TKEY mode 2 support (Diffie-Hellman): yes
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: TKEY mode 3 support (GSS-API): yes
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: loading configuration from '/etc/named.conf'
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: unable to open '/etc/bind.keys'; using built-in keys instead
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: looking for GeoIP2 databases in '/usr/share/GeoIP'
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: using default UDP/IPv4 port range: [32768, 60999]
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: using default UDP/IPv6 port range: [32768, 60999]
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: no IPv6 interfaces found
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: generating session key for dynamic DNS
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: sizing zone task pool based on 6 zones
Aug 10 22:07:08 dc0.gop.glp.cz named[1092]: Loading 'AD DNS Zone' using driver dlopen
Aug 10 22:07:09 dc0.gop.glp.cz systemd[1]: Created slice system-systemd\x2dcoredump.slice - Slice /system/systemd-coredump.
Aug 10 22:07:09 dc0.gop.glp.cz systemd[1]: Started systemd-coredump at 0-1103-0.service - Process Core Dump (PID 1103/UID 0).
Aug 10 22:07:10 dc0.gop.glp.cz systemd-coredump[1104]: Process 1092 (named) of user 25 dumped core.
    Module wins_ldb.so from rpm samba-4.20.4-1.fc40.x86_64
    Module vlv.so from rpm samba-4.20.4-1.fc40.x86_64
    Module update_keytab.so from rpm samba-4.20.4-1.fc40.x86_64
    Module unique_object_sids.so from rpm samba-4.20.4-1.fc40.x86_64
    Module tombstone_reanimate.so from rpm samba-4.20.4-1.fc40.x86_64
    Module subtree_rename.so from rpm samba-4.20.4-1.fc40.x86_64
    Module subtree_delete.so from rpm samba-4.20.4-1.fc40.x86_64
    Module show_deleted.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsmbd-shim-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libCHARSET3-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libutil-reg-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-cluster-support-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba3-util-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsmbconf.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libsecrets3-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module secrets_tdb_sync.so from rpm samba-4.20.4-1.fc40.x86_64
    Module schema_load.so from rpm samba-4.20.4-1.fc40.x86_64
    Module schema_data.so from rpm samba-4.20.4-1.fc40.x86_64
    Module samldb.so from rpm samba-4.20.4-1.fc40.x86_64
    Module samba_secrets.so from rpm samba-4.20.4-1.fc40.x86_64
    Module samba_dsdb.so from rpm samba-4.20.4-1.fc40.x86_64
    Module samba3sid.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsmbpasswdparser-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module samba3sam.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcli-cldap-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module rootdse.so from rpm samba-4.20.4-1.fc40.x86_64
    Module resolve_oids.so from rpm samba-4.20.4-1.fc40.x86_64
    Module repl_meta_data.so from rpm samba-4.20.4-1.fc40.x86_64
    Module ranged_results.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libad-claims-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libgpg-error.so.0 from rpm libgpg-error-1.49-1.fc40.x86_64
    Module libpac-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libauthn-policy-util-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libdb-glue-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module password_hash.so from rpm samba-4.20.4-1.fc40.x86_64
    Module partition.so from rpm samba-4.20.4-1.fc40.x86_64
    Module paged_results.so from rpm samba-4.20.4-1.fc40.x86_64
    Module operational.so from rpm samba-4.20.4-1.fc40.x86_64
    Module objectguid.so from rpm samba-4.20.4-1.fc40.x86_64
    Module objectclass_attrs.so from rpm samba-4.20.4-1.fc40.x86_64
    Module objectclass.so from rpm samba-4.20.4-1.fc40.x86_64
    Module new_partition.so from rpm samba-4.20.4-1.fc40.x86_64
    Module linked_attributes.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcmdline-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module ldbsamba_extensions.so from rpm samba-4.20.4-1.fc40.x86_64
    Module lazy_commit.so from rpm samba-4.20.4-1.fc40.x86_64
    Module instancetype.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libclidns-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcli-nbt-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libaddns-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcli-ldap-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module ildap.so from rpm samba-4.20.4-1.fc40.x86_64
    Module group_audit_log.so from rpm samba-4.20.4-1.fc40.x86_64
    Module extended_dn_store.so from rpm samba-4.20.4-1.fc40.x86_64
    Module extended_dn_out.so from rpm samba-4.20.4-1.fc40.x86_64
    Module extended_dn_in.so from rpm samba-4.20.4-1.fc40.x86_64
    Module encrypted_secrets.so from rpm samba-4.20.4-1.fc40.x86_64
    Module dsdb_notification.so from rpm samba-4.20.4-1.fc40.x86_64
    Module dns_notify.so from rpm samba-4.20.4-1.fc40.x86_64
    Module dirsync.so from rpm samba-4.20.4-1.fc40.x86_64
    Module descriptor.so from rpm samba-4.20.4-1.fc40.x86_64
    Module count_attrs.so from rpm samba-4.20.4-1.fc40.x86_64
    Module audit_log.so from rpm samba-4.20.4-1.fc40.x86_64
    Module anr.so from rpm samba-4.20.4-1.fc40.x86_64
    Module aclread.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libdcerpc-binding.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libtalloc-report-printf-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libndr-samba4-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libnetif-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libMESSAGING-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libdsdb-module-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module acl.so from rpm samba-4.20.4-1.fc40.x86_64
    Module tdb.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module skel.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module server_sort.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module sample.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module rdn_name.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module paged_searches.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module mdb.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module libldb-tdb-err-map.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module libldb-key-value.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module libldb-mdb-int.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module libldb-tdb-int.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module ldb.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module libcrypt.so.2 from rpm libxcrypt-4.4.36-5.fc40.x86_64
    Module libsasl2.so.3 from rpm cyrus-sasl-2.1.28-19.fc40.x86_64
    Module libevent-2.1.so.7 from rpm libevent-2.1.12-12.fc40.x86_64
    Module ldap.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module asq.so from rpm libldb-2.9.1-1.fc40.x86_64
    Module krb5.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libmsghdr-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libffi.so.8 from rpm libffi-3.4.4-7.fc40.x86_64
    Module libutil-setid-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libmessages-util-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libmessages-dgm-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libserver-id-db-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libhx509-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libwind-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libtdb-wrap-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libicudata.so.74 from rpm icu-74.2-1.fc40.x86_64
    Module libzstd.so.1 from rpm zstd-1.5.6-1.fc40.x86_64
    Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.x86_64
    Module libgmp.so.10 from rpm gmp-6.2.1-8.fc40.x86_64
    Module libhogweed.so.6 from rpm nettle-3.9.1-6.fc40.x86_64
    Module libnettle.so.8 from rpm nettle-3.9.1-6.fc40.x86_64
    Module libtasn1.so.6 from rpm libtasn1-4.19.0-6.fc40.x86_64
    Module libunistring.so.5 from rpm libunistring-1.1-7.fc40.x86_64
    Module libidn2.so.0 from rpm libidn2-2.3.7-1.fc40.x86_64
    Module libp11-kit.so.0 from rpm p11-kit-0.25.5-1.fc40.x86_64
    Module libjansson.so.4 from rpm jansson-2.13.1-9.fc40.x86_64
    Module libMESSAGING-SEND-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libheimbase-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libasn1-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libhcrypto-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libroken-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libstable-sort-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libndr-standard.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libcluster-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libinterfaces-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libldbsamba-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libutil-tdb-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libkrb5-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libdbwrap-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libndr-krb5pac.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libicuuc.so.74 from rpm icu-74.2-1.fc40.x86_64
    Module libicui18n.so.74 from rpm icu-74.2-1.fc40.x86_64
    Module libsystemd.so.0 from rpm systemd-255.10-3.fc40.x86_64
    Module libtdb.so.1 from rpm libtdb-1.4.10-1.fc40.x86_64
    Module libserver-role-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsys-rw-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsocket-blocking-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcli-ldap-common-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libflag-mapping-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libtevent.so.0 from rpm libtevent-0.16.1-1.fc40.x86_64
    Module libgnutls.so.30 from rpm gnutls-3.8.6-1.fc40.x86_64
    Module libtime-basic-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcommon-auth-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libkrb5samba-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcliauth-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libasn1util-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libcom-err-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libtevent-util.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libwbclient.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-modules-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libgssapi-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-security-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libndr-samba-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libreplace-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libndr-nbt.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libndr.so.4 from rpm samba-4.20.4-1.fc40.x86_64
    Module libldb.so.2 from rpm libldb-2.9.1-1.fc40.x86_64
    Module libtalloc.so.2 from rpm libtalloc-2.4.2-1.fc40.x86_64
    Module libpopt.so.0 from rpm popt-1.19-6.fc40.x86_64
    Module libevents-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libgenrand-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamdb.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-sockets-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-debug-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-credentials.so.1 from rpm samba-4.20.4-1.fc40.x86_64
    Module libauthkrb5-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-util.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-errors.so.1 from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamba-hostconfig.so.0 from rpm samba-4.20.4-1.fc40.x86_64
    Module libsamdb-common-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libgensec-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libdnsserver-common-private-samba.so from rpm samba-4.20.4-1.fc40.x86_64
    Module dlz_bind9_18.so from rpm samba-4.20.4-1.fc40.x86_64
    Module libnss_systemd.so.2 from rpm systemd-255.10-3.fc40.x86_64
    Module libpcre2-8.so.0 from rpm pcre2-10.44-1.fc40.x86_64
    Module libselinux.so.1 from rpm libselinux-3.6-4.fc40.x86_64
    Module libkeyutils.so.1 from rpm keyutils-1.6.3-3.fc40.x86_64
    Module libkrb5support.so.0 from rpm krb5-1.21.3-1.fc40.x86_64
    Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.x86_64
    Module libcom_err.so.2 from rpm e2fsprogs-1.47.0-5.fc40.x86_64
    Module libk5crypto.so.3 from rpm krb5-1.21.3-1.fc40.x86_64
    Module libkrb5.so.3 from rpm krb5-1.21.3-1.fc40.x86_64
    Module libgssapi_krb5.so.2 from rpm krb5-1.21.3-1.fc40.x86_64
    Module libssl.so.3 from rpm openssl-3.2.1-2.fc40.x86_64
    Module libnghttp2.so.14 from rpm nghttp2-1.59.0-3.fc40.x86_64
    Module libjson-c.so.5 from rpm json-c-0.17-3.fc40.x86_64
    Module libz.so.1 from rpm zlib-ng-2.1.7-1.fc40.x86_64
    Module libxml2.so.2 from rpm libxml2-2.12.8-1.fc40.x86_64
    Module libuv.so.1 from rpm libuv-1.48.0-1.fc40.x86_64
    Module libprotobuf-c.so.1 from rpm protobuf-c-1.5.0-3.fc40.x86_64
    Module libfstrm.so.0 from rpm fstrm-0.6.1-10.fc40.x86_64
    Module libmaxminddb.so.0 from rpm libmaxminddb-1.10.0-1.fc40.x86_64
    Module liblmdb.so.0.0.0 from rpm lmdb-0.9.33-1.fc40.x86_64
    Module libcap.so.2 from rpm libcap-2.69-8.fc40.x86_64
    Module libcrypto.so.3 from rpm openssl-3.2.1-2.fc40.x86_64
    Module libjemalloc.so.2 from rpm jemalloc-5.3.0-6.fc40.x86_64
    Module libbind9-9.18.28.so from rpm bind-9.18.28-2.fc40.x86_64
    Module libisccfg-9.18.28.so from rpm bind-9.18.28-2.fc40.x86_64
    Module libisccc-9.18.28.so from rpm bind-9.18.28-2.fc40.x86_64
    Module libns-9.18.28.so from rpm bind-9.18.28-2.fc40.x86_64
    Module libdns-9.18.28.so from rpm bind-9.18.28-2.fc40.x86_64
    Module libisc-9.18.28.so from rpm bind-9.18.28-2.fc40.x86_64
    Module named from rpm bind-9.18.28-2.fc40.x86_64
    Stack trace of thread 1094:
    #0  0x00007fe9c454a664 __pthread_kill_implementation (libc.so.6 + 0x99664)
    #1  0x00007fe9c44f1c4e __GI_raise (libc.so.6 + 0x40c4e)
    #2  0x00007fe9c44d9902 __GI_abort (libc.so.6 + 0x28902)
    #3  0x00007fe9c44da767 __libc_message_impl (libc.so.6 + 0x29767)
    #4  0x00007fe9c45547e5 malloc_printerr (libc.so.6 + 0xa37e5)
    #5  0x00007fe9c4556c1c _int_free (libc.so.6 + 0xa5c1c)
    #6  0x00007fe9c455954e __GI___libc_free (libc.so.6 + 0xa854e)
    #7  0x00007fe9babcd3c5 dsdb_schema_refresh (schema_load.so + 0x43c5)
    #8  0x00007fe9c142f24d dsdb_get_schema (libldbsamba-private-samba.so + 0x1824d)
    #9  0x00007fe9babcdb14 schema_load_init (schema_load.so + 0x4b14)
    #10 0x00007fe9c343c1da ldb_module_init_chain (libldb.so.2 + 0x121da)
    #11 0x00007fe9c343c1da ldb_module_init_chain (libldb.so.2 + 0x121da)
    #12 0x00007fe9bac2526f rootdse_init (rootdse.so + 0xe26f)
    #13 0x00007fe9c343c1da ldb_module_init_chain (libldb.so.2 + 0x121da)
    #14 0x00007fe9babf9294 samba_dsdb_init (samba_dsdb.so + 0x4294)
    #15 0x00007fe9c343c1da ldb_module_init_chain (libldb.so.2 + 0x121da)
    #16 0x00007fe9c343fcad ldb_load_modules (libldb.so.2 + 0x15cad)
    #17 0x00007fe9c344060f ldb_connect (libldb.so.2 + 0x1660f)
    #18 0x00007fe9c142e2d9 samba_ldb_connect (libldbsamba-private-samba.so + 0x172d9)
    #19 0x00007fe9c348ecf8 samdb_connect_url (libsamdb.so.0 + 0xfcf8)
    #20 0x00007fe9c39cbe15 dlz_create (dlz_bind9_18.so + 0x7e15)
    #21 0x00005598eb64ea33 dlopen_dlz_create (named + 0x20a33)
    #22 0x00007fe9c533a599 dns_sdlzcreate (libdns-9.18.28.so + 0x13a599)
    #23 0x00007fe9c525cd5b dns_dlzcreate (libdns-9.18.28.so + 0x5cd5b)
    #24 0x00005598eb6623a0 configure_view (named + 0x343a0)
    #25 0x00005598eb6708ff load_configuration (named + 0x428ff)
    #26 0x00005598eb672c37 run_server (named + 0x44c37)
    #27 0x00007fe9c55799bf isc_task_run (libisc-9.18.28.so + 0x639bf)
    #28 0x00007fe9c553961c isc__nm_async_task (libisc-9.18.28.so + 0x2361c)
    #29 0x00007fe9c5541671 process_netievent (libisc-9.18.28.so + 0x2b671)
    #30 0x00007fe9c5541d97 process_queue (libisc-9.18.28.so + 0x2bd97)
    #31 0x00007fe9c5541fb8 async_cb (libisc-9.18.28.so + 0x2bfb8)
    #32 0x00007fe9c51b5f23 uv__async_io.part.0 (libuv.so.1 + 0xaf23)
    #33 0x00007fe9c51d457b uv__io_poll (libuv.so.1 + 0x2957b)
    #34 0x00007fe9c51bb822 uv_run (libuv.so.1 + 0x10822)
    #35 0x00007fe9c554249d nm_thread (libisc-9.18.28.so + 0x2c49d)
    #36 0x00007fe9c557dc5a isc__trampoline_run (libisc-9.18.28.so + 0x67c5a)
    #37 0x00007fe9c45486d7 start_thread (libc.so.6 + 0x976d7)
    #38 0x00007fe9c45cc60c __clone3 (libc.so.6 + 0x11b60c)
    
    Stack trace of thread 1100:
    #0  0x00007fe9c4544da9 __futex_abstimed_wait_common64 (libc.so.6 + 0x93da9)
    #1  0x00007fe9c45477f9 __pthread_cond_wait_common (libc.so.6 + 0x967f9)
    #2  0x00007fe9c55425e3 nm_thread (libisc-9.18.28.so + 0x2c5e3)
    #3  0x00007fe9c557dc5a isc__trampoline_run (libisc-9.18.28.so + 0x67c5a)
    #4  0x00007fe9c45486d7 start_thread (libc.so.6 + 0x976d7)
    #5  0x00007fe9c45cc60c __clone3 (libc.so.6 + 0x11b60c)
    
    Stack trace of thread 1092:
    #0  0x00007fe9c44f2988 __GI___sigtimedwait (libc.so.6 + 0x41988)
    #1  0x00007fe9c44f205c __GI___sigwait (libc.so.6 + 0x4105c)
    #2  0x00007fe9c55579a0 isc_app_ctxrun (libisc-9.18.28.so + 0x419a0)
    #3  0x00007fe9c5557cac isc_app_run (libisc-9.18.28.so + 0x41cac)
    #4  0x00005598eb64a681 main (named + 0x1c681)
    #5  0x00007fe9c44db088 __libc_start_call_main (libc.so.6 + 0x2a088)
    #6  0x00007fe9c44db14b __libc_start_main_impl (libc.so.6 + 0x2a14b)
    #7  0x00005598eb64b305 _start (named + 0x1d305)
    
    Stack trace of thread 1093:
    #0  0x0000000000000000 n/a (n/a + 0x0)
    #1  0x00007fe9c5577654 task_ready (libisc-9.18.28.so + 0x61654)
    #2  0x00007fe9c5577b39 isc_task_sendtoanddetach (libisc-9.18.28.so + 0x61b39)
    #3  0x00007fe9c55579a0 isc_app_ctxrun (libisc-9.18.28.so + 0x419a0)
    #4  0x00007fe9c5557cac isc_app_run (libisc-9.18.28.so + 0x41cac)
    #5  0x00005598eb64a681 main (named + 0x1c681)
    #6  0x00007fe9c44db088 __libc_start_call_main (libc.so.6 + 0x2a088)
    #7  0x00007fe9c44db14b __libc_start_main_impl (libc.so.6 + 0x2a14b)
    #8  0x00005598eb64b305 _start (named + 0x1d305)
    
    Stack trace of thread 1095:
    #0  0x0000000000000000 n/a (n/a + 0x0)
    #1  0x00007fe9c5577654 task_ready (libisc-9.18.28.so + 0x61654)
    #2  0x00007fe9c5577b39 isc_task_sendtoanddetach (libisc-9.18.28.so + 0x61b39)
    #3  0x00007fe9c55579a0 isc_app_ctxrun (libisc-9.18.28.so + 0x419a0)
    #4  0x00007fe9c5557cac isc_app_run (libisc-9.18.28.so + 0x41cac)
    #5  0x00005598eb64a681 main (named + 0x1c681)
    #6  0x00007fe9c44db088 __libc_start_call_main (libc.so.6 + 0x2a088)
    #7  0x00007fe9c44db14b __libc_start_main_impl (libc.so.6 + 0x2a14b)
    #8  0x00005598eb64b305 _start (named + 0x1d305)
  
    Stack trace of thread 1095:
    #0  0x0000000000000000 n/a (n/a + 0x0)
    #1  0x00007fe9c5577654 task_ready (libisc-9.18.28.so + 0x61654)
    #2  0x00007fe9c5577b39 isc_task_sendtoanddetach (libisc-9.18.28.so + 0x61b39)
    #3  0x00007fe9c55579a0 isc_app_ctxrun (libisc-9.18.28.so + 0x419a0)
    #4  0x00007fe9c5557cac isc_app_run (libisc-9.18.28.so + 0x41cac)
    #5  0x00005598eb64a681 main (named + 0x1c681)
    #6  0x00007fe9c44db088 __libc_start_call_main (libc.so.6 + 0x2a088)
    #7  0x00007fe9c44db14b __libc_start_main_impl (libc.so.6 + 0x2a14b)
    #8  0x00005598eb64b305 _start (named + 0x1d305)
    
    Stack trace of thread 1098:
    #0  0x00007fe9c4544da9 __futex_abstimed_wait_common64 (libc.so.6 + 0x93da9)
    #1  0x00007fe9c45477f9 __pthread_cond_wait_common (libc.so.6 + 0x967f9)
    #2  0x00007fe9c55425e3 nm_thread (libisc-9.18.28.so + 0x2c5e3)
    #3  0x00007fe9c557dc5a isc__trampoline_run (libisc-9.18.28.so + 0x67c5a)
    #4  0x00007fe9c45486d7 start_thread (libc.so.6 + 0x976d7)
    #5  0x00007fe9c45cc60c __clone3 (libc.so.6 + 0x11b60c)
    
    Stack trace of thread 1096:
    #0  0x00007fe9c4544da9 __futex_abstimed_wait_common64 (libc.so.6 + 0x93da9)
    #1  0x00007fe9c45477f9 __pthread_cond_wait_common (libc.so.6 + 0x967f9)
    #2  0x00007fe9c55425e3 nm_thread (libisc-9.18.28.so + 0x2c5e3)
    #3  0x00007fe9c557dc5a isc__trampoline_run (libisc-9.18.28.so + 0x67c5a)
    #4  0x00007fe9c45486d7 start_thread (libc.so.6 + 0x976d7)
    #5  0x00007fe9c45cc60c __clone3 (libc.so.6 + 0x11b60c)
    
    Stack trace of thread 1099:
    #0  0x0000000000000000 n/a (n/a + 0x0)
    #1  0x00007fe9c5577654 task_ready (libisc-9.18.28.so + 0x61654)
    #2  0x00007fe9c5577b39 isc_task_sendtoanddetach (libisc-9.18.28.so + 0x61b39)
    #3  0x00007fe9c55579a0 isc_app_ctxrun (libisc-9.18.28.so + 0x419a0)
    #4  0x00007fe9c5557cac isc_app_run (libisc-9.18.28.so + 0x41cac)
    #5  0x00005598eb64a681 main (named + 0x1c681)
    #6  0x00007fe9c44db088 __libc_start_call_main (libc.so.6 + 0x2a088)
    #7  0x00007fe9c44db14b __libc_start_main_impl (libc.so.6 + 0x2a14b)
    #8  0x00005598eb64b305 _start (named + 0x1d305)
    
    Stack trace of thread 1101:
    #0  0x00007fe9c4544da9 __futex_abstimed_wait_common64 (libc.so.6 + 0x93da9)
    #1  0x00007fe9c4547b62 __pthread_cond_wait_common (libc.so.6 + 0x96b62)
    #2  0x00007fe9c5559178 isc_condition_waituntil (libisc-9.18.28.so + 0x43178)
    #3  0x00007fe9c557b5c4 run (libisc-9.18.28.so + 0x655c4)
    #4  0x00007fe9c557dc5a isc__trampoline_run (libisc-9.18.28.so + 0x67c5a)
    #5  0x00007fe9c45486d7 start_thread (libc.so.6 + 0x976d7)
    #6  0x00007fe9c45cc60c __clone3 (libc.so.6 + 0x11b60c)
    
    Stack trace of thread 1097:
    #0  0x0000000000000000 n/a (n/a + 0x0)
    #1  0x00007fe9c5577654 task_ready (libisc-9.18.28.so + 0x61654)
    #2  0x00007fe9c5577b39 isc_task_sendtoanddetach (libisc-9.18.28.so + 0x61b39)
    #3  0x00007fe9c55579a0 isc_app_ctxrun (libisc-9.18.28.so + 0x419a0)
    #4  0x00007fe9c5557cac isc_app_run (libisc-9.18.28.so + 0x41cac)
    #5  0x00005598eb64a681 main (named + 0x1c681)
    #6  0x00007fe9c44db088 __libc_start_call_main (libc.so.6 + 0x2a088)
    #7  0x00007fe9c44db14b __libc_start_main_impl (libc.so.6 + 0x2a14b)
    #8  0x00005598eb64b305 _start (named + 0x1d305)
    ELF object binary architecture: AMD x86-64
Aug 10 22:07:10 dc0.gop.glp.cz systemd[1]: systemd-coredump at 0-1103-0.service: Deactivated successfully.
Aug 10 22:07:10 dc0.gop.glp.cz systemd[1]: named.service: Control process exited, code=exited, status=1/FAILURE
Aug 10 22:07:10 dc0.gop.glp.cz systemd[1]: named.service: Failed with result 'exit-code'.
Aug 10 22:07:10 dc0.gop.glp.cz systemd[1]: Failed to start named.service - Berkeley Internet Name Domain (DNS).
...

Some other informations are in /var/spool/abrt/ccpp-*/ directory.

After inserting 'LDB_MODULES_DISABLE_DEEPBIND=1' into name environment,
named daemon started without problem.
-- 
Thanks, Franta Hanzlík



More information about the samba mailing list