Bug 1803925 - ipa krb5kdc db: krb5kdc coredump
Summary: ipa krb5kdc db: krb5kdc coredump
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: freeipa
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: IPA Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1803786 1803924
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-17 17:21 UTC by François Cami
Modified: 2020-02-17 18:37 UTC (History)
15 users (show)

Fixed In Version:
Clone Of: 1803924
Environment:
Last Closed: 2020-02-17 18:37:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description François Cami 2020-02-17 17:21:53 UTC
+++ This bug was initially created as a clone of Bug #1803924 +++

+++ This bug was initially created as a clone of Bug #1803786 +++

Cloned from upstream: https://pagure.io/freeipa/issue/8200

The nightly test `fedora-rawhide/test_forced_client_enrolment ` failed because of krb5kdc coredump. See PR #[140](https://github.com/freeipa-pr-ci2/freeipa/pull/140) with the following [logs](http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/14c9061a-50a7-11ea-942e-fa163e37ad70/).

The stack trace can be found in the master's [journal](http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/14c9061a-50a7-11ea-942e-fa163e37ad70/test_integration-test_forced_client_reenrollment.py-TestForcedClientReenrollment-test_try_to_reenroll_with_incorrect_keytab/master.ipa.test/journal.gz):
```
Feb 16 11:18:02 master.ipa.test systemd[1]: krb5kdc.service: Main process exited, code=dumped, status=11/SEGV
Feb 16 11:18:02 master.ipa.test systemd[1]: krb5kdc.service: Failed with result 'core-dump'.
Feb 16 11:18:02 master.ipa.test audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=krb5kdc comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Feb 16 11:18:02 master.ipa.test systemd-coredump[31826]: Process 29572 (krb5kdc) of user 0 dumped core.
                                                         
                                                         Stack trace of thread 29572:
                                                         #0  0x00007f77dad466e0 krb5_dbe_lookup_tl_data (libkdb5.so.10 + 0x86e0)
                                                         #1  0x00007f77dad470a4 krb5_dbe_get_string (libkdb5.so.10 + 0x90a4)
                                                         #2  0x00007f77da2d4b12 ipadb_get_ldap_mod_auth_ind (ipadb.so + 0x9b12)
                                                         #3  0x00007f77da2d720d ipadb_modify_principal (ipadb.so + 0xc20d)
                                                         #4  0x00007f77da2dcc20 ipadb_audit_as_req (ipadb.so + 0x11c20)
                                                         #5  0x000055a586330f26 log_as_req (krb5kdc + 0x1bf26)
                                                         #6  0x000055a58631f077 finish_process_as_req (krb5kdc + 0xa077)
                                                         #7  0x000055a58631fcf0 process_as_req (krb5kdc + 0xacf0)
                                                         #8  0x000055a58631eb99 dispatch (krb5kdc + 0x9b99)
                                                         #9  0x000055a586334336 process_tcp_connection_read (krb5kdc + 0x1f336)
                                                         #10 0x00007f77dabf871c verto_fire (libverto.so.1 + 0x471c)
                                                         #11 0x00007f77d6bba173 ev_invoke_pending (libev.so.4 + 0x6173)
                                                         #12 0x00007f77d6bbe21b ev_run (libev.so.4 + 0xa21b)
                                                         #13 0x000055a58631d85b main (krb5kdc + 0x885b)
                                                         #14 0x00007f77daa51042 __libc_start_main (libc.so.6 + 0x27042)
                                                         #15 0x000055a58631dcde _start (krb5kdc + 0x8cde)
Feb 16 11:18:02 master.ipa.test systemd[1]: systemd-coredump: Succeeded.
Feb 16 11:18:02 master.ipa.test audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-31825-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
```

The last command before the failure was `ipa host-del client0.ipa.test`, then `unshare --net ipa-client-install --uninstall -U`.

--- Additional comment from Alexander Bokovoy on 2020-02-17 14:05:52 UTC ---

Fixed upstream
master:
https://pagure.io/freeipa/c/e5291963a148c34582d90f2aa269e4a2214f9f6f
https://pagure.io/freeipa/c/ba904672a21add3b0ab1808c5640ac786f194aad

--- Additional comment from François Cami on 2020-02-17 15:41:10 UTC ---

Fixed upstream
ipa-4-8:
https://pagure.io/freeipa/c/30b8c8b9985a5eb41e700b80fd03f95548e45fba
https://pagure.io/freeipa/c/4eb48492b354ecc30ffe1dd9654dcc0e0e833d64


Note You need to log in before you can comment on or make changes to this bug.