Red Hat Bugzilla – Bug 1220788
request to backport ticket 3578 to RHEL6. Provoking migration to 7.1 issues.
Last modified: 2015-07-22 03:39:56 EDT
Description of problem: it's explained in: https://fedorahosted.org/freeipa/ticket/3578#comment:15 When migrating to 7.1, both instances of dirsrv are merged. copy-schema-to-ca.py script is copying the file: /usr/share/ipa/05rfc2247.ldif included in RHEL6 and the bad definition of attribute "dc" is spread into whole topology provoking these errors: [15/Apr/2015:12:33:06 +0100] attr_syntax_create - Error: the EQUALITY matching rule [caseIgnoreIA5Match] is not compatible with the syntax [1.3.6.1.4.1.1466.115.121.1.15] for the attribute [dc] [15/Apr/2015:12:33:06 +0100] attr_syntax_create - Error: the SUBSTR matching rule [caseIgnoreIA5SubstringsMatch] is not compatible with the syntax [1.3.6.1.4.1.1466.115.121.1.15] for the attribute [dc] Version-Release number of selected component (if applicable): ipa-server-3.0.0-42.el6.x86_64 Actual results: Expected results: Additional info:
copy-schema-to-ca.py is including this definition in the list of files to copy. This should not be. SCHEMA_FILENAMES = ( "60kerberos.ldif", "60samba.ldif", "60ipaconfig.ldif", "60basev2.ldif", "60basev3.ldif", "60ipadns.ldif", "61kerberos-ipav3.ldif", "65ipacertstore.ldif", "65ipasudo.ldif", "70ipaotp.ldif", "05rfc2247.ldif", <----- HERE the file in the 389 rpms is right. But the one included in ipa-server rpm still shows bad definition for rhel6.
Do I understand it correctly that the proposal is to backport [1] and nothing else? Or do you also want to backport the other patch [2] from ticket #3578? [1] https://git.fedorahosted.org/cgit/freeipa.git/commit/?id=e9863e3fe3cc5ca016c4e216ae3d34b750a34c73 [2] https://git.fedorahosted.org/cgit/freeipa.git/commit/?id=d4a0fa34afd30765e5ea6f0df21976a6494f13d6
Hi Petr, thanks for taking care of this bug. The error I am seeing is related to [1] but I think the full fix should be backport'd.
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. https://rhn.redhat.com/errata/RHSA-2015-1462.html