Bug 1673019

Summary: httpd can not be started with mod_md enabled
Product: Red Hat Software Collections Reporter: Branislav Náter <bnater>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Maryna Nalbandian <mnalband>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: httpd24CC: jorton
Target Milestone: ---   
Target Release: 3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1673022 (view as bug list) Environment:
Last Closed: 2019-12-10 07:57:26 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 Branislav Náter 2019-02-06 13:22:48 UTC
Description of problem:
httpd can not be started with mod_md enabled

: [ 13:14:10 ] :: [  BEGIN   ] :: Running 'su test -c "./t/TEST -v t/*.t"'
Can't locate t/conf/apache_test_config.pm in @INC (you may need to install the t::conf::apache_test_config module) (@INC contains: lib ../lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at lib/Apache/TestRun.pm line 779.
/usr/sbin/httpd  -d /tmp/tmp.MdPtJ8hG69/Apache-Test-1.37/t -f /tmp/tmp.MdPtJ8hG69/Apache-Test-1.37/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.4.37 (event MPM)

waiting 60 seconds for server to start: .[  error] 
server has died with status 255 (please examine t/logs/error_log)
Terminated

Content of t/logs/error_log:
[Fri Feb 01 13:14:11.419550 2019] [core:notice] [pid 29281:tid 140375069227264] SELinux policy enabled; httpd running as context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[Fri Feb 01 13:14:11.421240 2019] [md:debug] [pid 29281:tid 140375069227264] mod_md.c(1013): AH10070: initializing post config dry run
[Fri Feb 01 13:14:11.421254 2019] [md:debug] [pid 29281:tid 140375069227264] mod_md.c(361): AH10037: server seems not reachable via http: (port 80->80) and not reachable via https: (port 443->443)
[Fri Feb 01 13:14:11.421281 2019] [md:error] [pid 29281:tid 140375069227264] (13)Permission denied: init fs store at /var/lib/httpd/state/md
[Fri Feb 01 13:14:11.421288 2019] [md:error] [pid 29281:tid 140375069227264] (13)Permission denied: AH10046: setup store for /var/lib/httpd/state/md
[Fri Feb 01 13:14:11.421291 2019] [md:error] [pid 29281:tid 140375069227264] (13)Permission denied: AH10072: setup md registry
AH00016: Configuration Failed



Originally discussed in: https://bugzilla.redhat.com/show_bug.cgi?id=1649248
Upstream issue: https://github.com/icing/mod_md/issues/115

Version-Release number of selected component (if applicable):
httpd24-httpd-2.4.34-7.el7

Comment 11 errata-xmlrpc 2019-12-10 07:57:26 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-2019:4126