Bug 732196
Summary: | SELinux module needed for ssh access to git | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Patrick C. F. Ernzer <pcfe> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | dominick.grift, dwalsh, ksrot, mmalik |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.7.19-108.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 10:13:19 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: | |||
Bug Depends On: | |||
Bug Blocks: | 494837 |
Description
Patrick C. F. Ernzer
2011-08-20 15:21:05 UTC
One error I was made aware of; I should have created the git user with -Z git_shell_u . Fixed that with usermod -Z git_shell_u git policy module still seemingly needed. The other error I did (and this makes it NOTABUG) is that I should not have set the home directory of the git user to /var/lib/git as that introduced user_home_dir_t which made me see the error. Apologies for the noise, closing bug. man git_selinux.8 is not packaged in: selinux-policy-targeted-3.7.19-93.el6_1.2.noarch selinux-policy-3.7.19-93.el6_1.2.noarch It has much of the information that is needed to avoid this misunderstanding. Dominick, good point. I should backport this man page to RHEL6. Fixed in selinux-policy-3.7.19-108.el6 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-2011-1511.html |