Bug 1257738 - mod_ssl rpm is missing ssl_error_log from file list
Summary: mod_ssl rpm is missing ssl_error_log from file list
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-27 19:43 UTC by Ronald L Humble
Modified: 2016-03-18 11:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-18 11:07:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ronald L Humble 2015-08-27 19:43:37 UTC
Description of problem:mod_ssl ssl.conf file lists /var/log/ssl_error_log as the default log location. This file does not exist in the rpm file list. "systemctl start httpd" fails.


Version-Release number of selected component (if applicable):
mod_ssl-2.4.16-1.fc23.x86_64

How reproducible:


Steps to Reproduce:
1. Install mod_ssl and configure.
2. "systemctl start httpd" fails due to above log file missing
3.

Actual results:


Expected results: Start of httpd with mod_ssl installed executes successfully. The log file exists and is SELinux friendly.


Additional info: I did
"touch /var/log/ssl_error_log; chown apache:apache /var/log/ssl_error_log"
Adjusted local SELinux policy.
"systemctl start httpd" executes; web server running as expected.

Comment 1 Joe Orton 2016-03-18 11:07:09 UTC
"chown apache:apache /var/log/ssl_error_log"

This is a very bad idea and is unnecessary.  The log file will be created at startup as required.  It's likely your SELinux permissions or similar are wrong on /var/log/httpd, preventing creation of the log file.  Or e.g. you are using a non-standard systemd unit file for httpd which doesn't start the parent as root.


Note You need to log in before you can comment on or make changes to this bug.