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 1380435

Summary: Backport request of ticket 48983 to RHEL6.9
Product: Red Hat Enterprise Linux 6 Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: low Docs Contact:
Priority: low    
Version: 6.9CC: nhosoi, nkinder, rmeggins, tlavigne, wibrown
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.11.15-86.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 10:23:20 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:

Description Viktor Ashirov 2016-09-29 14:59:47 UTC
Ticket 48983 introduces new file defaults.inf, that contains install path info of DS. It's need to run lib389-based tests. 
Change is non-invasive and doesn't change in any way core functionality of ns-slapd.

Comment 3 Viktor Ashirov 2016-10-26 14:38:23 UTC
William, could you please push the configure artifacts as well? Build 389-ds-base-1.2.11.15-83.el6 doesn't contain defaults.inf.

Thanks!

Comment 4 Noriko Hosoi 2016-10-26 21:38:08 UTC
389-ds-base-1.2.11 branch has this patch regarding ticket 48983.

commit 90346683273ba64ce92582fd09edb838cf9d28f6
Author: William Brown <firstyear>
Date:   Mon Sep 12 11:30:55 2016 +1000

    Ticket 48983 -  generate install path info from autotools scripts
    
    Bug Description:  At configure time, this is the only time we know all the
    resolved paths of a ds installation. However, external tools such as lib389
    need to be able to discover and use these paths.
    
    Fix Description:  Add a new file to share in a well-known location that well
    provide all the paths of ds instance and install. This will allow discovery
    of what settings should be used on the associated platform or installation.
    
    https://fedorahosted.org/389/ticket/48983

On the other hand, the master branch has these 2 in addition to the above one.
    Ticket 48983 - Configure and Makefile.in from new default paths work.
    Ticket 48983 - Confiure and Makefile.in from new default paths work.

Do we need these in the 389-ds-base-1.2.11 branch, as well?

Reassigning this bug to William.  Thanks!

Comment 10 Viktor Ashirov 2017-01-19 17:30:32 UTC
Build tested:
389-ds-base-1.2.11.15-87.el6.x86_64

/usr/share/dirsrv/inf/defaults.inf is present and py.test works with latest lib389.

Marking as VERIFIED.

Comment 12 errata-xmlrpc 2017-03-21 10:23:20 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.

https://rhn.redhat.com/errata/RHBA-2017-0667.html