RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1069843 - Support thttpd (runs as initrc_t)
Summary: Support thttpd (runs as initrc_t)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.6
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 832330
TreeView+ depends on / blocked
 
Reported: 2014-02-25 18:33 UTC by Mike Donovan
Modified: 2014-10-14 08:00 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.7.19-245.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 08:00:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1568 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2014-10-14 01:27:37 UTC

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


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