Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Version-Release number of selected component (if applicable):
sssd-1.11.2-39.el7.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Add IPA trust with AD
2. Restart sssd after clearing cache
# service sssd stop ; rm -f /var/lib/sss/{mc,db}/*; service sssd start
3. getent for AD group. The command must be successful on the first attempt. It works on second attempt
# getent group adgroup1
Actual results:
[root@dhcp207-218 ~]# service sssd stop ; rm -f /var/lib/sss/{mc,db}/*; service sssd start
Redirecting to /bin/systemctl stop sssd.service
Redirecting to /bin/systemctl start sssd.service
You have new mail in /var/spool/mail/root
[root@dhcp207-218 ~]# getent group sub_grp1.qe
[root@dhcp207-218 ~]# echo $?
2
[root@dhcp207-218 ~]# getent group sub_grp1.qe
sub_grp1.qe:*:839001110:
[root@dhcp207-218 ~]# getent group adgroup1
[root@dhcp207-218 ~]# echo $?
2
[root@dhcp207-218 ~]# getent group adgroup1
adgroup1:*:1148401449:
Additional info:
[root@dhcp207-218 ~]# gdb -ex 'bt full' /usr/libexec/sssd/sssd_be /var/tmp/abrt/ccpp-2014-02-18-12:16:27-7770/coredump
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-50.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/libexec/sssd/sssd_be...Reading symbols from /usr/lib/debug/usr/libexec/sssd/sssd_be.debug...done.
done.
[New LWP 7770]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/sssd/sssd_be --domain newdom.qe --debug-to-files'.
Program terminated with signal 6, Aborted.
#0 0x00007f3bf0ff2979 in raise () from /lib64/libc.so.6
#0 0x00007f3bf0ff2979 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f3bf0ff4088 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007f3bf4678cfc in talloc_abort () from /lib64/libtalloc.so.2
No symbol table info available.
#3 0x00007f3bf467841f in talloc_chunk_from_ptr.part.0 () from /lib64/libtalloc.so.2
No symbol table info available.
#4 0x00007f3bf4678d2c in _talloc_set_destructor () from /lib64/libtalloc.so.2
No symbol table info available.
#5 0x00007f3bf48872a7 in tevent_common_schedule_immediate () from /lib64/libtevent.so.0
No symbol table info available.
#6 0x00007f3bf4887a25 in tevent_req_post () from /lib64/libtevent.so.0
No symbol table info available.
#7 0x00007f3be7f94d2f in ipa_get_ad_acct_ad_part_done (subreq=<optimized out>) at src/providers/ipa/ipa_subdomains_id.c:583
req = 0x7f3bf6a0b380
state = 0x7f3bf6a23dd0
ret = <optimized out>
__FUNCTION__ = "ipa_get_ad_acct_ad_part_done"
#8 0x00007f3be7fbbcb7 in ad_handle_acct_info_done (subreq=0x0) at src/providers/ad/ad_id.c:138
ret = <optimized out>
dp_error = 3
Missing separate debuginfos, use: debuginfo-install audit-libs-2.3.3-3.el7.x86_64 c-ares-1.10.0-3.el7.x86_64 cyrus-sasl-gssapi-2.1.26-17.el7.x86_64 cyrus-sasl-lib-2.1.26-17.el7.x86_64 cyrus-sasl-md5-2.1.26-17.el7.x86_64 dbus-libs-1.6.12-8.el7.x86_64 glib2-2.36.3-4.el7.x86_64 glibc-2.17-48.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.11.3-45.el7.x86_64 libbasicobjects-0.1.0-22.el7.x86_64 libcollection-0.6.2-22.el7.x86_64 libcom_err-1.42.9-3.el7.x86_64 libdb-5.3.21-16.el7.x86_64 libdhash-0.4.3-22.el7.x86_64 libini_config-1.0.0.1-22.el7.x86_64 libldb-1.1.16-4.el7.x86_64 libpath_utils-0.2.1-22.el7.x86_64 libref_array-0.1.3-22.el7.x86_64 libselinux-2.2.2-4.el7.x86_64 libtalloc-2.0.8-4.el7.x86_64 libtdb-1.2.12-3.el7.x86_64 libtevent-0.9.18-6.el7.x86_64 nspr-4.10.2-4.el7.x86_64 nss-3.15.4-4.el7.x86_64 nss-softokn-freebl-3.15.4-2.el7.x86_64 nss-util-3.15.4-2.el7.x86_64 openldap-2.4.39-2.el7.x86_64 openssl-libs-1.0.1e-30.el7.x86_64 pam-1.1.8-6.el7.x86_64 pcre-8.32-12.el7.x86_64 popt-1.13-16.el7.x86_64 samba-libs-4.1.1-15.el7.x86_64 xz-libs-5.1.2-8alpha.el7.x86_64 zlib-1.2.7-13.el7.x86_64
---Type <return> to continue, or q <return> to quit---
sdap_err = 0
err = 0x7f3be6dbca33 "Success"
req = 0x7f3bf6a0c4f0
state = 0x7f3bf69e5c80
#9 0x00007f3bf48873f4 in tevent_common_loop_immediate () from /lib64/libtevent.so.0
No symbol table info available.
#10 0x00007f3bf488ba17 in epoll_event_loop_once () from /lib64/libtevent.so.0
No symbol table info available.
#11 0x00007f3bf488a107 in std_event_loop_once () from /lib64/libtevent.so.0
No symbol table info available.
#12 0x00007f3bf69b4640 in ?? ()
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
(gdb) quit
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Description of problem: Version-Release number of selected component (if applicable): sssd-1.11.2-39.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Add IPA trust with AD 2. Restart sssd after clearing cache # service sssd stop ; rm -f /var/lib/sss/{mc,db}/*; service sssd start 3. getent for AD group. The command must be successful on the first attempt. It works on second attempt # getent group adgroup1 Actual results: [root@dhcp207-218 ~]# service sssd stop ; rm -f /var/lib/sss/{mc,db}/*; service sssd start Redirecting to /bin/systemctl stop sssd.service Redirecting to /bin/systemctl start sssd.service You have new mail in /var/spool/mail/root [root@dhcp207-218 ~]# getent group sub_grp1.qe [root@dhcp207-218 ~]# echo $? 2 [root@dhcp207-218 ~]# getent group sub_grp1.qe sub_grp1.qe:*:839001110: [root@dhcp207-218 ~]# getent group adgroup1 [root@dhcp207-218 ~]# echo $? 2 [root@dhcp207-218 ~]# getent group adgroup1 adgroup1:*:1148401449: Additional info: [root@dhcp207-218 ~]# gdb -ex 'bt full' /usr/libexec/sssd/sssd_be /var/tmp/abrt/ccpp-2014-02-18-12:16:27-7770/coredump GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-50.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/libexec/sssd/sssd_be...Reading symbols from /usr/lib/debug/usr/libexec/sssd/sssd_be.debug...done. done. [New LWP 7770] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/libexec/sssd/sssd_be --domain newdom.qe --debug-to-files'. Program terminated with signal 6, Aborted. #0 0x00007f3bf0ff2979 in raise () from /lib64/libc.so.6 #0 0x00007f3bf0ff2979 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00007f3bf0ff4088 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00007f3bf4678cfc in talloc_abort () from /lib64/libtalloc.so.2 No symbol table info available. #3 0x00007f3bf467841f in talloc_chunk_from_ptr.part.0 () from /lib64/libtalloc.so.2 No symbol table info available. #4 0x00007f3bf4678d2c in _talloc_set_destructor () from /lib64/libtalloc.so.2 No symbol table info available. #5 0x00007f3bf48872a7 in tevent_common_schedule_immediate () from /lib64/libtevent.so.0 No symbol table info available. #6 0x00007f3bf4887a25 in tevent_req_post () from /lib64/libtevent.so.0 No symbol table info available. #7 0x00007f3be7f94d2f in ipa_get_ad_acct_ad_part_done (subreq=<optimized out>) at src/providers/ipa/ipa_subdomains_id.c:583 req = 0x7f3bf6a0b380 state = 0x7f3bf6a23dd0 ret = <optimized out> __FUNCTION__ = "ipa_get_ad_acct_ad_part_done" #8 0x00007f3be7fbbcb7 in ad_handle_acct_info_done (subreq=0x0) at src/providers/ad/ad_id.c:138 ret = <optimized out> dp_error = 3 Missing separate debuginfos, use: debuginfo-install audit-libs-2.3.3-3.el7.x86_64 c-ares-1.10.0-3.el7.x86_64 cyrus-sasl-gssapi-2.1.26-17.el7.x86_64 cyrus-sasl-lib-2.1.26-17.el7.x86_64 cyrus-sasl-md5-2.1.26-17.el7.x86_64 dbus-libs-1.6.12-8.el7.x86_64 glib2-2.36.3-4.el7.x86_64 glibc-2.17-48.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.11.3-45.el7.x86_64 libbasicobjects-0.1.0-22.el7.x86_64 libcollection-0.6.2-22.el7.x86_64 libcom_err-1.42.9-3.el7.x86_64 libdb-5.3.21-16.el7.x86_64 libdhash-0.4.3-22.el7.x86_64 libini_config-1.0.0.1-22.el7.x86_64 libldb-1.1.16-4.el7.x86_64 libpath_utils-0.2.1-22.el7.x86_64 libref_array-0.1.3-22.el7.x86_64 libselinux-2.2.2-4.el7.x86_64 libtalloc-2.0.8-4.el7.x86_64 libtdb-1.2.12-3.el7.x86_64 libtevent-0.9.18-6.el7.x86_64 nspr-4.10.2-4.el7.x86_64 nss-3.15.4-4.el7.x86_64 nss-softokn-freebl-3.15.4-2.el7.x86_64 nss-util-3.15.4-2.el7.x86_64 openldap-2.4.39-2.el7.x86_64 openssl-libs-1.0.1e-30.el7.x86_64 pam-1.1.8-6.el7.x86_64 pcre-8.32-12.el7.x86_64 popt-1.13-16.el7.x86_64 samba-libs-4.1.1-15.el7.x86_64 xz-libs-5.1.2-8alpha.el7.x86_64 zlib-1.2.7-13.el7.x86_64 ---Type <return> to continue, or q <return> to quit--- sdap_err = 0 err = 0x7f3be6dbca33 "Success" req = 0x7f3bf6a0c4f0 state = 0x7f3bf69e5c80 #9 0x00007f3bf48873f4 in tevent_common_loop_immediate () from /lib64/libtevent.so.0 No symbol table info available. #10 0x00007f3bf488ba17 in epoll_event_loop_once () from /lib64/libtevent.so.0 No symbol table info available. #11 0x00007f3bf488a107 in std_event_loop_once () from /lib64/libtevent.so.0 No symbol table info available. #12 0x00007f3bf69b4640 in ?? () No symbol table info available. #13 0x0000000000000000 in ?? () No symbol table info available. (gdb) (gdb) quit