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.

Bug 1399058

Summary: crash is seen when ipa-adtrust-install is run
Product: Red Hat Enterprise Linux 6 Reporter: Sudhir Menon <sumenon>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED WORKSFORME QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact: Aneta Šteflová Petrová <apetrova>
Priority: unspecified    
Version: 6.9CC: abokovoy, mkosek, mvarun, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
*winbindd* crashes when installing a new AD trust When configuring a new Active Directory (AD) trust on a newly installed system, the *ipa-adtrust-install* utility might report that the *winbindd* service terminated unexpectedly. Otherwise, *ipa-adtrust-install* completes successfully. If this problem occurs, restart the IdM services by using the "ipactl restart" command after running *ipa-adtrust-install*. This also restarts *winbindd*. Note that the full extent of the functional impact of this problem is still unknown. Some trust functionality might not work until *winbindd* is restarted.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-21 11:45:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sos report
none
backtrace from the core
none
winbindd domain struct dump none

Description Sudhir Menon 2016-11-28 08:09:45 UTC
Description of problem: crash report is generated in /var/spool/abrt when ipa-adtrust-install is run

Version-Release number of selected component (if applicable):

Red Hat Enterprise Linux Server release 6.9 Beta (Santiago)
ipa-server-3.0.0-51.el6.x86_64
ipa-server-selinux-3.0.0-51.el6.x86_64
ipa-server-trust-ad-3.0.0-51.el6.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Install IPA server
2. ipa-adtrust-install

Actual results: ipa-adtrust-install command runs without any error, but there is crash report generated.


[root@master ccpp-2016-11-24-15:15:04-12371]# cat core_backtrace 
{   "signal": 6
,   "executable": "/usr/sbin/winbindd"
,   "stacktrace":
      [ {   "crash_thread": true
        ,   "frames":
              [ {   "address": 140425446200469
                ,   "build_id": "17f8039cb83ba6f9fbd1109c48d81562a8cc49e2"
                ,   "build_id_offset": 205973
                ,   "function_name": "raise"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140425446206581
                ,   "build_id": "17f8039cb83ba6f9fbd1109c48d81562a8cc49e2"
                ,   "build_id_offset": 212085
                ,   "function_name": "abort"
                ,   "file_name": "/lib64/libc.so.6"
                }
              , {   "address": 140425498559537
                ,   "build_id": "bb8f0ec498b87be150615b7f2998b09dffab91ca"
                ,   "build_id_offset": 193585
                ,   "function_name": "dump_core"
                ,   "file_name": "/usr/lib64/libsmbconf.so.0"
                }
              , {   "address": 140425498505648
                ,   "build_id": "bb8f0ec498b87be150615b7f2998b09dffab91ca"
                ,   "build_id_offset": 139696
                ,   "function_name": "smb_panic_s3"
                ,   "file_name": "/usr/lib64/libsmbconf.so.0"
                }
              , {   "address": 140425545337882
                ,   "build_id": "3c449acc37706d87be6bb2e8348bdb2e4feba310"
                ,   "build_id_offset": 109594
                ,   "function_name": "smb_panic"
                ,   "file_name": "/usr/lib64/libsamba-util.so.0"
                }
              , {   "address": 140425554161727
                ,   "build_id": "379c7f547fc1448ccfaec9ba3952132772f2d5e7"
                ,   "build_id_offset": 139327
                ,   "file_name": "/usr/lib64/libsamba-passdb.so.0"
                }
              , {   "address": 140425554163449
                ,   "build_id": "379c7f547fc1448ccfaec9ba3952132772f2d5e7"
                ,   "build_id_offset": 141049
                ,   "function_name": "pdb_capabilities"
                ,   "file_name": "/usr/lib64/libsamba-passdb.so.0"
                }
              , {   "address": 140425579355673
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 626201
                ,   "function_name": "_lsa_QueryInfoPolicy2"
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425579381819
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 652347
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425578891416
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 161944
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425549745129
                ,   "build_id": "c50f2e985f449920775c5665610d8758293711cd"
                ,   "build_id_offset": 89065
                ,   "function_name": "dcerpc_binding_handle_raw_call_send"
                ,   "file_name": "/usr/lib64/libdcerpc-binding.so.0"
                }
              , {   "address": 140425549745819
                ,   "build_id": "c50f2e985f449920775c5665610d8758293711cd"
                ,   "build_id_offset": 89755
                ,   "function_name": "dcerpc_binding_handle_call_send"
                ,   "file_name": "/usr/lib64/libdcerpc-binding.so.0"
                }
              , {   "address": 140425549746103
                ,   "build_id": "c50f2e985f449920775c5665610d8758293711cd"
                ,   "build_id_offset": 90039
                ,   "function_name": "dcerpc_binding_handle_call"
                ,   "file_name": "/usr/lib64/libdcerpc-binding.so.0"
                }
              , {   "address": 140425533125917
                ,   "build_id": "bc756d3622d708f82c31e5b4d9d79dfb63f6c8e2"
                ,   "build_id_offset": 451869
                ,   "function_name": "dcerpc_lsa_QueryInfoPolicy2_r"
                ,   "file_name": "/usr/lib64/samba/libdcerpc-samba-samba4.so"
                }
              , {   "address": 140425533178457
                ,   "build_id": "bc756d3622d708f82c31e5b4d9d79dfb63f6c8e2"
                ,   "build_id_offset": 504409
                ,   "function_name": "dcerpc_lsa_QueryInfoPolicy2"
                ,   "file_name": "/usr/lib64/samba/libdcerpc-samba-samba4.so"
                }
              , {   "address": 140425579035932
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 306460
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425579039064
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 309592
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425579043483
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 314011
                ,   "function_name": "init_dc_connection"
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425578950671
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 221199
                ,   "function_name": "winbindd_dual_init_connection"
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425579113672
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 384200
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425452215974
                ,   "build_id": "bd864f0397aa9f88cb8d931d16065e46ef4f2aec"
                ,   "build_id_offset": 40614
                ,   "file_name": "/usr/lib64/libtevent.so.0"
                }
              , {   "address": 140425452208854
                ,   "build_id": "bd864f0397aa9f88cb8d931d16065e46ef4f2aec"
                ,   "build_id_offset": 33494
                ,   "file_name": "/usr/lib64/libtevent.so.0"
                }
              , {   "address": 140425452190781
                ,   "build_id": "bd864f0397aa9f88cb8d931d16065e46ef4f2aec"
                ,   "build_id_offset": 15421
                ,   "function_name": "_tevent_loop_once"
                ,   "file_name": "/usr/lib64/libtevent.so.0"
                }
              , {   "address": 140425579117880
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 388408
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425579119797
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 390325
                ,   "file_name": "/usr/sbin/winbindd"
                }
              , {   "address": 140425452193896
                ,   "build_id": "bd864f0397aa9f88cb8d931d16065e46ef4f2aec"
                ,   "build_id_offset": 18536
                ,   "function_name": "tevent_common_loop_immediate"
                ,   "file_name": "/usr/lib64/libtevent.so.0"
                }
              , {   "address": 140425452215446
                ,   "build_id": "bd864f0397aa9f88cb8d931d16065e46ef4f2aec"
                ,   "build_id_offset": 40086
                ,   "file_name": "/usr/lib64/libtevent.so.0"
                }
              , {   "address": 140425452208854
                ,   "build_id": "bd864f0397aa9f88cb8d931d16065e46ef4f2aec"
                ,   "build_id_offset": 33494
                ,   "file_name": "/usr/lib64/libtevent.so.0"
                }
              , {   "address": 140425452190781
                ,   "build_id": "bd864f0397aa9f88cb8d931d16065e46ef4f2aec"
                ,   "build_id_offset": 15421
                ,   "function_name": "_tevent_loop_once"
                ,   "file_name": "/usr/lib64/libtevent.so.0"
                }
              , {   "address": 140425578943627
                ,   "build_id": "2194dbff06682c35bbb0079698b2cf561e485afc"
                ,   "build_id_offset": 214155
                ,   "function_name": "main"
                ,   "file_name": "/usr/sbin/winbindd"
                } ]
        } ]
}

Expected results:
crash report shouldn't be generated.

Additional info: Attaching the crash report.

Comment 1 Sudhir Menon 2016-11-28 08:41:50 UTC
Created attachment 1225171 [details]
sos report

Comment 4 Alexander Bokovoy 2016-11-29 15:16:31 UTC
Created attachment 1225890 [details]
backtrace from the core

backtrace from the winbindd core

Comment 5 Alexander Bokovoy 2016-11-29 15:17:12 UTC
Created attachment 1225891 [details]
winbindd domain struct dump

dump of struct winbindd_domain

Comment 7 Martin Kosek 2017-02-21 11:45:27 UTC
This Bug was triaged and discussed during IPA sync meeting and is considered as interim failure that was triggered on unclean machine. Varun Mylaraiah (CCed) tested current IdM installation with Trusts and it was working OK.

We agreed that this bug can be now closed.