Bug 1633260

Summary: mod_session missing apr-util-openssl
Product: Red Hat Software Collections Reporter: Branislav Náter <bnater>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Branislav Náter <bnater>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: httpd24CC: jorton, luhliari, qe-baseos-apps
Target Milestone: alpha   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1633152 Environment:
Last Closed: 2018-11-13 08:37:08 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:
Bug Depends On: 1633152, 1633973    
Bug Blocks:    

Description Branislav Náter 2018-09-26 14:21:22 UTC
The same issue is present in rhscl. httpd24-mod_session should rpm require apr-util-openssl

httpd24-mod_session-2.4.34-2.el7
httpd24-mod_session-2.4.27-8.el6.1 (should require httpd24-apr-util-openssl)

+++ This bug was initially created as a clone of Bug #1633152 +++

Description of problem:
httpd is not able to start when mod_session is configured to use mod_session_crypto

Version-Release number of selected component (if applicable):
mod_session-2.4.6-80.el7_5.1

How reproducible:
always

Steps to Reproduce:
1. install mod_session
2. uncomment loading of mod_session_crypto in module config (/etc/httpd/conf.modules.d/01-session.conf)
3. start httpd

Actual results:
systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
kill[3455]: kill: cannot find process ""
systemd[1]: httpd.service: control process exited, code=exited status=1
systemd[1]: Failed to start The Apache HTTP Server.
systemd[1]: Unit httpd.service entered failed state.

httpd error_log:
[session_crypto:error] [pid 19768] (20019)DSO load failed: AH01845: The crypto library 'openssl' could not be loaded: /usr/lib64/apr-util-1/apr_crypto_openssl-1.so: cannot open shared object file: No such file or directory (apr_crypto_openssl-1.so: 0)

Expected results:
successful start of httpd

Additional info:
Installing apr-util-openssl fix this.

--- Additional comment from Joe Orton on 2018-09-26 07:20:01 EDT ---

The API design in apr-util is poor here.  Probably mod_session should Requires: apr-util-openssl, though

https://src.fedoraproject.org/rpms/apr-util/c/7def96255723f89df0831670d8bd9a6be5a979c3

is better/simpler than tracking each API consumer for the future.

Comment 5 errata-xmlrpc 2018-11-13 08:37:08 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://access.redhat.com/errata/RHSA-2018:3558