Bug 38644 - Падение sssd в libkrb5 при отсутствии каталога /etc/krb5.conf.d
Summary: Падение sssd в libkrb5 при отсутствии каталога /etc/krb5.conf.d
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: libkrb5 (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Ivan A. Melnikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-26 01:30 MSK by Vitaly Lipatov
Modified: 2020-06-26 11:42 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2020-06-26 01:30:42 MSK
Если удалить /etc/krb5.conf.d, сервис sssd падает при запуске:

Jun 26 01:24:45 builder64.office.etersoft.ru kernel: sssd_be[5271]: segfault at 70 ip 00007f1973f08714 sp 00007ffdc6c5ce80 error 4 in libkrb5.so.3.3[7f1973eb6000+61000]

# gdb /usr/libexec/sssd/sssd_be .5271
Program terminated with signal SIGSEGV, Segmentation fault.
#0  kt_default_name (name_out=0x7ffdc6c5ce88, context=0x0) at ktdefname.c:44
44	    } else if (context->profile_secure == FALSE &&

(gdb) bt
#0  kt_default_name (name_out=0x7ffdc6c5ce88, context=0x0) at ktdefname.c:44
#1  krb5_kt_default_name (context=0x0, name=0x7f1972cfbd00 "", name_size=1024) at ktdefname.c:87
#2  0x00007f1972cec7d5 in sss_printable_keytab_name () from /usr/lib64/sssd/libsss_krb5_common.so
#3  0x00007f1972cee043 in select_principal_from_keytab () from /usr/lib64/sssd/libsss_krb5_common.so
#4  0x00007f1972d1e7df in sdap_set_sasl_options () from /usr/lib64/sssd/libsss_ldap_common.so
#5  0x00007f1972e6ba91 in ?? () from /usr/lib64/sssd/libsss_ad.so
#6  0x00007f1972e6c3d0 in ad_get_id_options () from /usr/lib64/sssd/libsss_ad.so
#7  0x00007f1972e6d108 in sssm_ad_init () from /usr/lib64/sssd/libsss_ad.so