Bug 1069843

Summary: Support thttpd (runs as initrc_t)
Product: Red Hat Enterprise Linux 6 Reporter: Mike Donovan <mdonovan>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: dwalsh, lvrabec, mdonovan, mmalik
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.7.19-245.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 08:00:16 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:    
Bug Blocks: 832330    

Description Mike Donovan 2014-02-25 18:33:38 UTC
Description of problem:
SELinux support for Nginx is due to be added to 6.6 (Bug 1045041), can we include Thttpd too?

Comment 2 Mike Donovan 2014-02-25 19:55:25 UTC
Suggested additions to apache.fc:


/etc/thttpd\.conf       -- gen_context(system_u:object_r:httpd_config_t,s0)
/usr/sbin/thttpd        -- gen_context(system_u:object_r:httpd_exec_t,s0)
/var/log/thttpd\.log.*  -- gen_context(system_u:object_r:httpd_log_t,s0)
/var/run/thttpd\.pid    -- gen_context(system_u:object_r:httpd_var_run_t,s0)

Comment 3 Daniel Walsh 2014-02-26 17:46:15 UTC
commit 84ef99d2159fc329ca18f20b7f450147354f1def
 adds this labeling to git.

Comment 6 Lukas Vrabec 2014-07-16 11:34:21 UTC
patch sent.

commit 2de838a61e8667ee08fdf0782c6b58e5105b8c79
Author: Lukas Vrabec <lvrabec>
Date:   Wed Jul 16 11:24:19 2014 +0200

    Label init thttpd file as httpd_initrc_exec_t BZ #1069843

Comment 9 errata-xmlrpc 2014-10-14 08:00:16 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.

http://rhn.redhat.com/errata/RHBA-2014-1568.html