opendnssec / SoftHSMv2

SoftHSM version 2
http://www.softhsm.org/
Other
779 stars 343 forks source link

Coredump / Alma/rhel 9 #738

Open hcoin opened 9 months ago

hcoin commented 9 months ago

This happens once every hour or so. Only answer is to restart named.

softhsm-2.6.1-7.el9.2.x86_64 : Software version of a PKCS#11 Hardware Security Module Repo : appstream Matched from: Provide : libsofthsm2.so()(64bit)

`Feb 02 11:04:26 registry1.1.quietfountain.com named[2788]: client @0x7fc5f00c8c78 10.12.112.2#35286: received notify for zone '3.0.0.0.7.c.0.0.1.0.0.1.0.0.c.f.ip6.arpa' Feb 02 11:04:27 registry1.1.quietfountain.com named[2788]: zone 3.0.8.0.0.0.0.0.0.0.0.1.0.0.c.f.ip6.arpa/IN: sending notifies (serial 1706893238) Feb 02 11:04:27 registry1.1.quietfountain.com named[2788]: zone 1.quietfountain.com/IN (signed): sending notifies (serial 1706893235) Feb 02 11:04:27 registry1.1.quietfountain.com systemd[1]: Started Process Core Dump (PID 3043/UID 0). Feb 02 11:04:28 registry1.1.quietfountain.com systemd-coredump[3044]: [🡕] Process 2788 (named) of user 25 dumped core.

                                                                  Stack trace of thread 2789:
                                                                  #0  0x00007fc60d6a154c __pthread_kill_implementation (libc.so.6 + 0xa154c)
                                                                  #1  0x00007fc60d654d06 raise (libc.so.6 + 0x54d06)
                                                                  #2  0x00007fc60d6287f3 abort (libc.so.6 + 0x287f3)
                                                                  #3  0x00007fc60d629130 __libc_message.cold (libc.so.6 + 0x29130)
                                                                  #4  0x00007fc60d6ab617 malloc_printerr (libc.so.6 + 0xab617)
                                                                  #5  0x00007fc60d6af68c __libc_malloc (libc.so.6 + 0xaf68c)
                                                                  #6  0x00007fc5e7cadb0c _Znwm (libstdc++.so.6 + 0xadb0c)
                                                                  #7  0x00007fc6043dcaca _ZN7OSToken10getObjectsERSt3setIP8OSObjectSt4lessIS2_ESaIS2_EE (libsofthsm2.so + 0xa1aca)
                                                                  #8  0x00007fc60438a06b _ZN7SoftHSM17C_FindObjectsInitEmP13_CK_ATTRIBUTEm (libsofthsm2.so + 0x4f06b)
                                                                  #9  0x00007fc60435deb8 C_FindObjectsInit (libsofthsm2.so + 0x22eb8)
                                                                  #10 0x00007fc60d43a9fc pkcs11_enumerate_keys (pkcs11.so + 0x79fc)
                                                                  #11 0x00007fc60d43fa63 ctx_load_key (pkcs11.so + 0xca63)
                                                                  #12 0x00007fc60d44045d load_privkey (pkcs11.so + 0xd45d)
                                                                  #13 0x00007fc60db65735 ENGINE_load_private_key (libcrypto.so.3 + 0x165735)
                                                                  #14 0x00007fc60e1abdf8 opensslrsa_parse (libdns-9.16.23-RH.so + 0x1abdf8)
                                                                  #15 0x00007fc60e19cbc1 dst_key_fromnamedfile (libdns-9.16.23-RH.so + 0x19cbc1)
                                                                  #16 0x00007fc60e19d4d7 dst_key_fromfile (libdns-9.16.23-RH.so + 0x19d4d7)
                                                                  #17 0x00007fc60e0698f2 dns_dnssec_findzonekeys (libdns-9.16.23-RH.so + 0x698f2)
                                                                  #18 0x00007fc60e16399f dns__zone_findkeys (libdns-9.16.23-RH.so + 0x16399f)
                                                                  #19 0x00007fc60e16a6d9 zone_sign.lto_priv.0 (libdns-9.16.23-RH.so + 0x16a6d9)
                                                                  #20 0x00007fc60e178279 zone_timer.lto_priv.0 (libdns-9.16.23-RH.so + 0x178279)
                                                                  #21 0x00007fc60e3451bd isc_task_run (libisc-9.16.23-RH.so + 0x571bd)
                                                                  #22 0x00007fc60e3302a9 process_netievent (libisc-9.16.23-RH.so + 0x422a9)
                                                                  #23 0x00007fc60e330425 process_queue (libisc-9.16.23-RH.so + 0x42425)
                                                                  #24 0x00007fc60e330c17 async_cb (libisc-9.16.23-RH.so + 0x42c17)
                                                                  #25 0x00007fc60e252b3d uv__async_io.part.0 (libuv.so.1 + 0xab3d)
                                                                  #26 0x00007fc60e26e85e uv__io_poll.part.0 (libuv.so.1 + 0x2685e)
                                                                  #27 0x00007fc60e2585a8 uv_run (libuv.so.1 + 0x105a8)
                                                                  #28 0x00007fc60e3304db nm_thread (libisc-9.16.23-RH.so + 0x424db)
                                                                  #29 0x00007fc60e342f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #30 0x00007fc60d69f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #31 0x00007fc60d63f450 __clone3 (libc.so.6 + 0x3f450)

`

bjosv commented 9 months ago

An abort() in the new operator/malloc indicates that the heap was corrupted somehow in some previous action, and the hard part is to find the cause. One options to debug this could be that you build and run with a sanitizer, but maybe that is a bit intrusive..

hcoin commented 8 months ago

Another example. Mar 07 07:53:28 registry1.1.quietfountain.com systemd[1]: Started Process Core Dump (PID 4511/UID 0). Mar 07 07:53:29 registry1.1.quietfountain.com systemd-coredump[4512]: [🡕] Process 2652 (named) of user 25 dumped core.

                                                                  Stack trace of thread 2654:
                                                                  #0  0x00007ff57a4a154c __pthread_kill_implementation (libc.so.6 + 0xa154c)
                                                                  #1  0x00007ff57a454d06 raise (libc.so.6 + 0x54d06)
                                                                  #2  0x00007ff57a4287f3 abort (libc.so.6 + 0x287f3)
                                                                  #3  0x00007ff57a429130 __libc_message.cold (libc.so.6 + 0x29130)
                                                                  #4  0x00007ff57a4ab617 malloc_printerr (libc.so.6 + 0xab617)
                                                                  #5  0x00007ff57a4af68c __libc_malloc (libc.so.6 + 0xaf68c)
                                                                  #6  0x00007ff5650adb0c _Znwm (libstdc++.so.6 + 0xadb0c)
                                                                  #7  0x00007ff56546daca _ZN7OSToken10getObjectsERSt3setIP8OSObjectSt4lessIS2_ESaIS2_EE (libsofthsm2.so + 0xa1aca)
                                                                  #8  0x00007ff56541b06b _ZN7SoftHSM17C_FindObjectsInitEmP13_CK_ATTRIBUTEm (libsofthsm2.so + 0x4f06b)
                                                                  #9  0x00007ff5653eeeb8 C_FindObjectsInit (libsofthsm2.so + 0x22eb8)
                                                                  #10 0x00007ff57a3ee9fc pkcs11_enumerate_keys (pkcs11.so + 0x79fc)
                                                                  #11 0x00007ff57a3f3a63 ctx_load_key (pkcs11.so + 0xca63)
                                                                  #12 0x00007ff57a3f445d load_privkey (pkcs11.so + 0xd45d)
                                                                  #13 0x00007ff57a965735 ENGINE_load_private_key (libcrypto.so.3 + 0x165735)
                                                                  #14 0x00007ff57b1abdf8 opensslrsa_parse (libdns-9.16.23-RH.so + 0x1abdf8)
                                                                  #15 0x00007ff57b19cbc1 dst_key_fromnamedfile (libdns-9.16.23-RH.so + 0x19cbc1)
                                                                  #16 0x00007ff57b19d4d7 dst_key_fromfile (libdns-9.16.23-RH.so + 0x19d4d7)
                                                                  #17 0x00007ff57b0698f2 dns_dnssec_findzonekeys (libdns-9.16.23-RH.so + 0x698f2)
                                                                  #18 0x00007ff57b16399f dns__zone_findkeys (libdns-9.16.23-RH.so + 0x16399f)
                                                                  #19 0x00007ff57b16a6d9 zone_sign.lto_priv.0 (libdns-9.16.23-RH.so + 0x16a6d9)
                                                                  #20 0x00007ff57b178279 zone_timer.lto_priv.0 (libdns-9.16.23-RH.so + 0x178279)
                                                                  #21 0x00007ff57b2f41bd isc_task_run (libisc-9.16.23-RH.so + 0x571bd)
                                                                  #22 0x00007ff57b2df2a9 process_netievent (libisc-9.16.23-RH.so + 0x422a9)
                                                                  #23 0x00007ff57b2df425 process_queue (libisc-9.16.23-RH.so + 0x42425)
                                                                  #24 0x00007ff57b2dfc17 async_cb (libisc-9.16.23-RH.so + 0x42c17)
                                                                  #25 0x00007ff57ae3bb3d uv__async_io.part.0 (libuv.so.1 + 0xab3d)
                                                                  #26 0x00007ff57ae5785e uv__io_poll.part.0 (libuv.so.1 + 0x2685e)
                                                                  #27 0x00007ff57ae415a8 uv_run (libuv.so.1 + 0x105a8)
                                                                  #28 0x00007ff57b2df4db nm_thread (libisc-9.16.23-RH.so + 0x424db)
                                                                  #29 0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #30 0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #31 0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2658:
                                                                  #0  0x00007ff57a54e84e epoll_wait (libc.so.6 + 0x14e84e)
                                                                  #1  0x00007ff57b2fd48c netthread (libisc-9.16.23-RH.so + 0x6048c)
                                                                  #2  0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #3  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #4  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2659:
                                                                  #0  0x00007ff57a54e84e epoll_wait (libc.so.6 + 0x14e84e)
                                                                  #1  0x00007ff57b2fd48c netthread (libisc-9.16.23-RH.so + 0x6048c)
                                                                  #2  0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #3  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #4  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2661:
                                                                  #0  0x00007ff57a54e84e epoll_wait (libc.so.6 + 0x14e84e)
                                                                  #1  0x00007ff57b2fd48c netthread (libisc-9.16.23-RH.so + 0x6048c)
                                                                  #2  0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #3  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #4  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2801:
                                                                  #0  0x00007ff57a49c39a __futex_abstimed_wait_common (libc.so.6 + 0x9c39a)
                                                                  #1  0x00007ff57a49eba0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x9eba0)
                                                                  #2  0x00007ff57ae510ed uv_cond_wait (libuv.so.1 + 0x200ed)
                                                                  #3  0x00007ff57ae44966 worker (libuv.so.1 + 0x13966)
                                                                  #4  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #5  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2652:
                                                                  #0  0x00007ff57a455aca __sigtimedwait (libc.so.6 + 0x55aca)
                                                                  #1  0x00007ff57a45510c sigwait (libc.so.6 + 0x5510c)
                                                                  #2  0x00007ff57b2c2a33 isc_app_ctxrun (libisc-9.16.23-RH.so + 0x25a33)
                                                                  #3  0x00007ff57b2c2cfc isc_app_run (libisc-9.16.23-RH.so + 0x25cfc)
                                                                  #4  0x000056367e23e45a main (named + 0x1d45a)
                                                                  #5  0x00007ff57a43feb0 __libc_start_call_main (libc.so.6 + 0x3feb0)
                                                                  #6  0x00007ff57a43ff60 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x3ff60)
                                                                  #7  0x000056367e23ef85 _start (named + 0x1df85)

                                                                  Stack trace of thread 2802:
                                                                  #0  0x00007ff57a49c39a __futex_abstimed_wait_common (libc.so.6 + 0x9c39a)
                                                                  #1  0x00007ff57a49eba0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x9eba0)
                                                                  #2  0x00007ff57ae510ed uv_cond_wait (libuv.so.1 + 0x200ed)
                                                                  #3  0x00007ff57ae44966 worker (libuv.so.1 + 0x13966)
                                                                  #4  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #5  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2803:
                                                                  #0  0x00007ff57a49c39a __futex_abstimed_wait_common (libc.so.6 + 0x9c39a)
                                                                  #1  0x00007ff57a49eba0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x9eba0)
                                                                  #2  0x00007ff57ae510ed uv_cond_wait (libuv.so.1 + 0x200ed)
                                                                  #3  0x00007ff57ae44966 worker (libuv.so.1 + 0x13966)
                                                                  #4  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #5  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2800:
                                                                  #0  0x00007ff57a49c39a __futex_abstimed_wait_common (libc.so.6 + 0x9c39a)
                                                                  #1  0x00007ff57a49eba0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x9eba0)
                                                                  #2  0x00007ff57ae510ed uv_cond_wait (libuv.so.1 + 0x200ed)
                                                                  #3  0x00007ff57ae44966 worker (libuv.so.1 + 0x13966)
                                                                  #4  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #5  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2660:
                                                                  #0  0x00007ff57a54e84e epoll_wait (libc.so.6 + 0x14e84e)
                                                                  #1  0x00007ff57b2fd48c netthread (libisc-9.16.23-RH.so + 0x6048c)
                                                                  #2  0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #3  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #4  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2657:
                                                                  #0  0x00007ff57a49c39a __futex_abstimed_wait_common (libc.so.6 + 0x9c39a)
                                                                  #1  0x00007ff57a49eea4 pthread_cond_timedwait@@GLIBC_2.3.2 (libc.so.6 + 0x9eea4)
                                                                  #2  0x00007ff57b303a90 isc_condition_waituntil (libisc-9.16.23-RH.so + 0x66a90)
                                                                  #3  0x00007ff57b2f5cff run (libisc-9.16.23-RH.so + 0x58cff)
                                                                  #4  0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #5  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #6  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2653:
                                                                  #0  0x00007ff57a49db7a pthread_barrier_wait@@GLIBC_2.34 (libc.so.6 + 0x9db7a)
                                                                  #1  0x00007ff57ae4b1fd uv_barrier_wait (libuv.so.1 + 0x1a1fd)
                                                                  #2  0x00007ff57b2d58c7 isc_nm_pause (libisc-9.16.23-RH.so + 0x388c7)
                                                                  #3  0x00007ff57b2f4993 isc_task_beginexclusive (libisc-9.16.23-RH.so + 0x57993)
                                                                  #4  0x00007ff5745bd826 run_exclusive_enter (ldap.so + 0x14826)
                                                                  #5  0x00007ff5745c2951 ldap_parse_master_zoneentry (ldap.so + 0x19951)
                                                                  #6  0x00007ff5745c4e3a update_zone (ldap.so + 0x1be3a)
                                                                  #7  0x00007ff57b2f41bd isc_task_run (libisc-9.16.23-RH.so + 0x571bd)
                                                                  #8  0x00007ff57b2df2a9 process_netievent (libisc-9.16.23-RH.so + 0x422a9)
                                                                  #9  0x00007ff57b2df425 process_queue (libisc-9.16.23-RH.so + 0x42425)
                                                                  #10 0x00007ff57b2dfc17 async_cb (libisc-9.16.23-RH.so + 0x42c17)
                                                                  #11 0x00007ff57ae3bb3d uv__async_io.part.0 (libuv.so.1 + 0xab3d)
                                                                  #12 0x00007ff57ae5785e uv__io_poll.part.0 (libuv.so.1 + 0x2685e)
                                                                  #13 0x00007ff57ae415a8 uv_run (libuv.so.1 + 0x105a8)
                                                                  #14 0x00007ff57b2df4db nm_thread (libisc-9.16.23-RH.so + 0x424db)
                                                                  #15 0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #16 0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #17 0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2656:
                                                                  #0  0x00007ff57a49c319 __futex_abstimed_wait_common (libc.so.6 + 0x9c319)
                                                                  #1  0x00007ff57a4a5d8f pthread_rwlock_wrlock@@GLIBC_2.34 (libc.so.6 + 0xa5d8f)
                                                                  #2  0x00007ff57a9bda9d CRYPTO_THREAD_write_lock (libcrypto.so.3 + 0x1bda9d)
                                                                  #3  0x00007ff57a3edb9d check_key_fork (pkcs11.so + 0x6b9d)
                                                                  #4  0x00007ff57a3f04d5 pkcs11_pkey_rsa_sign (pkcs11.so + 0x94d5)
                                                                  #5  0x00007ff57a9a3e6e EVP_SignFinal_ex (libcrypto.so.3 + 0x1a3e6e)
                                                                  #6  0x00007ff57b1a5fa4 opensslrsa_sign.lto_priv.0 (libdns-9.16.23-RH.so + 0x1a5fa4)
                                                                  #7  0x00007ff57b068262 dns_dnssec_sign (libdns-9.16.23-RH.so + 0x68262)
                                                                  #8  0x00007ff57b16b93d zone_sign.lto_priv.0 (libdns-9.16.23-RH.so + 0x16b93d)
                                                                  #9  0x00007ff57b178279 zone_timer.lto_priv.0 (libdns-9.16.23-RH.so + 0x178279)
                                                                  #10 0x00007ff57b2f41bd isc_task_run (libisc-9.16.23-RH.so + 0x571bd)
                                                                  #11 0x00007ff57b2df2a9 process_netievent (libisc-9.16.23-RH.so + 0x422a9)
                                                                  #12 0x00007ff57b2df425 process_queue (libisc-9.16.23-RH.so + 0x42425)
                                                                  #13 0x00007ff57b2dfc17 async_cb (libisc-9.16.23-RH.so + 0x42c17)
                                                                  #14 0x00007ff57ae3bb3d uv__async_io.part.0 (libuv.so.1 + 0xab3d)
                                                                  #15 0x00007ff57ae5785e uv__io_poll.part.0 (libuv.so.1 + 0x2685e)
                                                                  #16 0x00007ff57ae415a8 uv_run (libuv.so.1 + 0x105a8)
                                                                  #17 0x00007ff57b2df4db nm_thread (libisc-9.16.23-RH.so + 0x424db)
                                                                  #18 0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #19 0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #20 0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2655:
                                                                  #0  0x00007ff57a49db7a pthread_barrier_wait@@GLIBC_2.34 (libc.so.6 + 0x9db7a)
                                                                  #1  0x00007ff57ae4b1fd uv_barrier_wait (libuv.so.1 + 0x1a1fd)
                                                                  #2  0x00007ff57b2df54b nm_thread (libisc-9.16.23-RH.so + 0x4254b)
                                                                  #3  0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #4  0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #5  0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)

                                                                  Stack trace of thread 2662:
                                                                  #0  0x00007ff57a49c39a __futex_abstimed_wait_common (libc.so.6 + 0x9c39a)
                                                                  #1  0x00007ff57a49eea4 pthread_cond_timedwait@@GLIBC_2.3.2 (libc.so.6 + 0x9eea4)
                                                                  #2  0x00007ff57b303a90 isc_condition_waituntil (libisc-9.16.23-RH.so + 0x66a90)
                                                                  #3  0x00007ff5745c5bcb syncrepl_update (ldap.so + 0x1cbcb)
                                                                  #4  0x00007ff5745c6344 ldap_sync_search_entry (ldap.so + 0x1d344)
                                                                  #5  0x00007ff574587bfa ldap_sync_search_entry (libldap.so.2 + 0x45bfa)
                                                                  #6  0x00007ff57458856b ldap_sync_poll (libldap.so.2 + 0x4656b)
                                                                  #7  0x00007ff5745c7591 ldap_sync_doit (ldap.so + 0x1e591)
                                                                  #8  0x00007ff5745c7a33 ldap_syncrepl_watcher.lto_priv.0 (ldap.so + 0x1ea33)
                                                                  #9  0x00007ff57b2f1f9a isc__trampoline_run (libisc-9.16.23-RH.so + 0x54f9a)
                                                                  #10 0x00007ff57a49f802 start_thread (libc.so.6 + 0x9f802)
                                                                  #11 0x00007ff57a43f450 __clone3 (libc.so.6 + 0x3f450)
                                                                  ELF object binary architecture: AMD x86-64

Mar 07 07:53:29 registry1.1.quietfountain.com systemd[1]: systemd-coredump@1-4511-0.service: Deactivated successfully. Mar 07 07:53:29 registry1.1.quietfountain.com systemd[1]: systemd-coredump@1-4511-0.service: Consumed 1.016s CPU time. Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: Traceback (most recent call last): Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: File "/usr/libexec/ipa/ipa-dnskeysyncd", line 130, in Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: while ldap_connection.syncrepl_poll(all=1, msgid=ldap_search): Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: File "/usr/lib64/python3.9/site-packages/ldap/syncrepl.py", line 464, in syncrepl_poll Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: self.syncrepl_refreshdone() Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: File "/usr/lib/python3.9/site-packages/ipaserver/dnssec/keysyncer.py", line 128, in syncrepl_refreshdone Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: self.bindmgr.sync(self.dnssec_zones) Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: File "/usr/lib/python3.9/site-packages/ipaserver/dnssec/bindmgr.py", line 232, in sync Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: self.sync_zone(zone) Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: File "/usr/lib/python3.9/site-packages/ipaserver/dnssec/bindmgr.py", line 216, in sync_zone Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: self.notify_zone(zone) Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: File "/usr/lib/python3.9/site-packages/ipaserver/dnssec/bindmgr.py", line 51, in notify_zone Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: result = ipautil.run(cmd, capture_output=True) Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: File "/usr/lib/python3.9/site-packages/ipapython/ipautil.py", line 599, in run Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: raise CalledProcessError( Mar 07 07:53:30 registry1.1.quietfountain.com ipa-dnskeysyncd[4164]: ipapython.ipautil.CalledProcessError: CalledProcessError(Command ['rndc', 'sign', '4.quietfountain.com.'] returned non-zero exit status 1: 'rndc: recv failed: connection reset\n') Mar 07 07:53:30 registry1.1.quietfountain.com systemd[1]: named.service: Main process exited, code=dumped, status=6/ABRT Mar 07 07:53:30 registry1.1.quietfountain.com systemd[1]: named.service: Failed with result 'core-dump'. Mar 07 07:53:30 registry1.1.quietfountain.com systemd[1]: named.service: Consumed 2min 13.251s CPU time. Mar 07 07:53:30 registry1.1.quietfountain.com systemd[1]: ipa-dnskeysyncd.service: Main process exited, code=exited, status=1/FAILURE Mar 07 07:53:30 registry1.1.quietfountain.com systemd[1]: ipa-dnskeysyncd.service: Failed with result 'exit-code'. Mar 07 07:53:30 registry1.1.quietfountain.com systemd[1]: ipa-dnskeysyncd.service: Consumed 7.561s CPU time.

olszomal commented 5 days ago

@hcoin Could you try again using pkcs11.so built from the latest master branch of https://github.com/OpenSC/libp11?