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 821848 - modification of olcSyncrepl attribute takes server out of MirrorMode
Summary: modification of olcSyncrepl attribute takes server out of MirrorMode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openldap
Version: 6.2
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Vcelak
QA Contact: David Spurek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-15 15:04 UTC by Patrick Hemmer
Modified: 2015-03-02 05:26 UTC (History)
4 users (show)

Fixed In Version: openldap-2.4.23-29.el6
Doc Type: Bug Fix
Doc Text:
Cause: Replication in mirror mode is configured for OpenLDAP server (slapd) configuration database (cn=config). Replication configuration (olcSyncrepl) is changed. Consequence: The cn=config database is silently removed from mirror mode and it cannot be longer modified without restarting the slapd daemon. Fix: Upstream patch applied to fix correctly handle the changes of replication configuration. Result: Change of replication configuration preservers the state of mirror mode correctly, cn=config database can be modified with no need to restart the slapd daemon.
Clone Of:
Environment:
Last Closed: 2013-02-21 09:45:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0364 0 normal SHIPPED_LIVE openldap bug fix and enhancement update 2013-02-20 20:52:54 UTC

Description Patrick Hemmer 2012-05-15 15:04:32 UTC
When slapd is running with cn=config, and "olcMirrorMode: TRUE" is set, whenever you modify an "olcSyncrepl" attribute, the server is silently taken out of MirrorMode, and you are no longer able to edit the cn=config database until slapd is restarted.

This is observed with openldap-servers-2.4.23-20.el6.x86_64

Steps to Reproduce:
1. Create a server with "olcMirrorMode: TRUE" and perform a modification on an "olcSyncrepl" attribute.
2. Then try to modify anything in the cn=config database.

 
Actual results:
"shadow context; no update referral"


Expected results:
No error


Additional info:
This has been reported and fixed upstream
http://www.openldap.org/its/index.cgi/Software%20Bugs?id=7077
http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commitdiff;h=b8f4e78414d59e76d626b3f0ae1c113ba1b1fc2c

Comment 2 RHEL Program Management 2012-05-19 04:04:18 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Jan Vcelak 2012-07-31 12:33:18 UTC
Confirming. Upstream patch can be applied.

Comment 5 Jan Vcelak 2012-09-25 16:10:25 UTC
Resolved in: openldap-2.4.23-29.el6

Comment 9 errata-xmlrpc 2013-02-21 09:45:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0364.html


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