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 1027047

Summary: Winsync plugin segfault during incremental backoff
Product: Red Hat Enterprise Linux 7 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: amsharma, jgalipea, jrusnack, nhosoi, nkinder
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.1.6-9.el7 Doc Type: Bug Fix
Doc Text:
Cause: Once WinSync backoff timer is set, even if the protocol that the backoff timer belongs to is deleted by removing the windows sync agreement, the timer is not deleted from the event queue. Consequence: When the timer is expired and backoff is called, it crashes the server since the protocol handle is already freed, then. Fix: Make sure to delete the backoff timer when 1) a windows sync agreement is removed and the protocol is deleted, and 2) a new backoff timer set and there is already a backoff timer set up. Result: The server does not crash even if the agreement is deleted before the backoff is called.
Story Points: ---
Clone Of: 1022500 Environment:
Last Closed: 2014-06-13 12:49:40 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:
Bug Depends On: 1022500    
Bug Blocks:    

Comment 2 Amita Sharma 2014-02-20 16:53:05 UTC
1. Setup winsync with certs.
2. Executed reproducer with new parameters of my setup ::
[root@dhcp201-149 export]# ./reproducer.sh
deleting winsync agreement
Removing AD certificate from DS certdb
setting up winsync STARTTLS agreement
adding new entry "cn=winsync,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config"

verifying STARTTLS connection fails on certificate validation
[20/Feb/2014:21:52:43 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (WIN-JR86T98LPKL:389): Replication bind with SIMPLE auth failed: LDAP error -11 (Connect error) (TLS error -8179:Peer's Certificate issuer is not recognized.)
Sleeping 300s
deleting winsync agreement
adding new winsync agreement
adding new entry "cn=winsync,cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config"


importing AD cert
Verifying connection is OK - sleeping 20s
[20/Feb/2014:21:57:47 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (WIN-JR86T98LPKL:389): Replica has no update vector. It has never been initialized.
[20/Feb/2014:21:57:51 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (WIN-JR86T98LPKL:389): Replica has no update vector. It has never been initialized.
[20/Feb/2014:21:57:55 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (WIN-JR86T98LPKL:389): Replica has no update vector. It has never been initialized.
[20/Feb/2014:21:57:59 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (WIN-JR86T98LPKL:389): Replica has no update vector. It has never been initialized.
[20/Feb/2014:21:58:03 +051800] NSMMReplicationPlugin - agmt="cn=winsync" (WIN-JR86T98LPKL:389): Replica has no update vector. It has never been initialized.
Please wait 2-3 minutes till DS segfaults.

No segfaults found, hence marking bug as VERIFIED.

Comment 3 Ludek Smid 2014-06-13 12:49:40 UTC
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.