Bug 1241760

Summary: mod_ldap not installed during post-upgrade phase
Product: Red Hat Enterprise Linux 6 Reporter: Alois Mahdal <amahdal>
Component: preupgrade-assistant-contentsAssignee: Petr Stodulka <pstodulk>
Status: CLOSED ERRATA QA Contact: Alois Mahdal <amahdal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7CC: jkaluza, ovasik, phracek, pstodulk, tpoitras, ttomecek
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: preupgrade-assistant-contents-0.6.41-1 Doc Type: Bug Fix
Doc Text:
Previously, mod_ldap module was not properly installed during the post-upgrade phase, even though it had been evaluated as "in use". This has now been fixed, and mod_ldap is properly installed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 23:32:17 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 Alois Mahdal 2015-07-10 04:09:08 UTC
Description of problem
======================

*mod_ldap* (and possibly) other modules may not have chance to get
installed during postupgrade phase, even though it has been evaluated as
"in use".

I have added a mockup LDAP config to /etc/httpd/conf.d, which triggered
the relevant solution text to explain that the module has split off to
new package and will be installed during post phase.

But in the post-upgrade phase *mod_ldap* has not been installed and there
is no mention about it--the postupgrade script has run, but installed
nothing--there is basically no log from it.


Version-Release number of selected component
============================================

preupgrade-assistant-contents-0.6.32-1.el6


Additional info
===============

My susipicion is that the post-upgade script might have incorrect (mixed
up somehow?) assumptions about the config dir structure:

  * during preupgrade scan, it looks for `LoadModule mod_ldap` in main
    conf and if found, looks for LDAP-related directives in both main
    and conf.d/* files

  * but during postupgrade.d, it looks for `LoadModule mod_ldap` again
    in the main file ... if the conf is RHEL7 that cannot succeed.
    The second part of the check is again `&&`-ed, and only looks in
    the main file, which also cannot succeed at all.

Comment 11 Alois Mahdal 2015-11-06 05:25:00 UTC
Status update:

Patch has been created, tested, failed, fixed, tested, passed and is currently on its way to a proper build.

So we already know the patch works.

After build is ready, we will re-run tests to verify it has been integrated properly; if that's the case I expect tests to pass.

Comment 17 errata-xmlrpc 2015-11-19 23:32:17 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-2015-2498.html