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:

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