Bug 1081033 - cgit/gitosis blocked by selinux, add git_cgit_read_gitosis_content boolean
Summary: cgit/gitosis blocked by selinux, add git_cgit_read_gitosis_content boolean
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-26 14:21 UTC by Michael J. Chudobiak
Modified: 2014-04-09 13:23 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.12.1-149.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-09 13:23:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael J. Chudobiak 2014-03-26 14:21:04 UTC
See RHEL bug 736623. Same problem. They added a git_cgit_read_gitosis_content boolean to RHEL, but it is not in the Fedora policy.

Please add git_cgit_read_gitosis_content.

Comment 1 Michael J. Chudobiak 2014-03-26 14:25:47 UTC
audit2allow -a

#============= httpd_git_script_t ==============
allow httpd_git_script_t gitosis_var_lib_t:dir { read search open getattr };
allow httpd_git_script_t gitosis_var_lib_t:file { read getattr open };

Comment 2 Miroslav Grepl 2014-03-28 09:02:28 UTC
commit 747d9f5b74eb089dc167b5181ee2e66b1e5936b2
Author: Miroslav Grepl <mgrepl>
Date:   Fri Mar 28 10:02:08 2014 +0100

    Allow cgit to read gitosis lib files by default

Comment 3 Fedora Update System 2014-03-31 14:06:28 UTC
selinux-policy-3.12.1-149.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-149.fc20

Comment 4 Michael J. Chudobiak 2014-03-31 14:22:33 UTC
Thanks, cgit/gitosis works now by default. (No boolean was added.)

Comment 5 Fedora Update System 2014-04-02 09:04:34 UTC
Package selinux-policy-3.12.1-149.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-149.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4604/selinux-policy-3.12.1-149.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-04-09 13:23:03 UTC
selinux-policy-3.12.1-149.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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