Bug 245933

Summary: SELinux preventing correct httpd install
Product: Red Hat Enterprise Linux 5 Reporter: Gary Benson <gbenson>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-27 14:38:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gary Benson 2007-06-27 14:24:21 UTC
Description of problem:
If you do yum install httpd on a RHEL5 box SELinux stops the useradd in the
%post script.

Version-Release number of selected component (if applicable):
selinux-policy-2.4.6-30.el5
selinux-policy-targeted-2.4.6-30.el5
httpd-2.2.3-6.el5

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL5 without httpd.
2. yum install httpd
3. SELinux is preventing /usr/sbin/useradd (useradd_t) "read write" to faillog
(var_log_t).

Comment 1 Daniel Walsh 2007-06-27 14:38:57 UTC
This is mentioned in the Release Notes and should be fixed in U1.
Execute the following to fix

# restorecon -R -v /var/log