Bug 827389
| Summary: | Gitolite3 policy missing | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Antoine Brenner <brenner+bugzilla> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | CC: | brenner+bugzilla, dwalsh, gwync, hopmann, mmalik |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.7.19-186.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 08:35:39 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: | |||
|
Description
Antoine Brenner
2012-06-01 10:29:15 UTC
Any reason to change the name of this directory? Do you want to ship both simultaniously? Yes, this is to make upgrading safer for the admin, as there are steps that need to be taken after the old version is removed but before the new one is installed. mgrepl please backport 3ca3417b4921bba52665e9a42ad35cb19baafbee Fixed in selinux-policy-3.7.19-159.el6 Following files from gitolite3 package are labelled usr_t, but they are either shell scripts or perl scripts, therefore I suggest to label them bin_t: /usr/share/gitolite3/commands/D /usr/share/gitolite3/commands/access /usr/share/gitolite3/commands/creator /usr/share/gitolite3/commands/desc /usr/share/gitolite3/commands/fork /usr/share/gitolite3/commands/git-config /usr/share/gitolite3/commands/help /usr/share/gitolite3/commands/htpasswd /usr/share/gitolite3/commands/info /usr/share/gitolite3/commands/list-dangling-repos /usr/share/gitolite3/commands/lock /usr/share/gitolite3/commands/mirror /usr/share/gitolite3/commands/perms /usr/share/gitolite3/commands/print-default-rc /usr/share/gitolite3/commands/push /usr/share/gitolite3/commands/sshkeys-lint /usr/share/gitolite3/commands/sskm /usr/share/gitolite3/commands/sudo /usr/share/gitolite3/commands/svnserve /usr/share/gitolite3/commands/symbolic-ref /usr/share/gitolite3/commands/writable Following files from gitolite package are already labelled bin_t: /usr/share/gitolite/hooks/common/update /usr/share/gitolite/hooks/gitolite-admin/post-update Yes, we should label /usr/share/gitolite3/commands as bin_t. All these files are perl or shell script executables: # find /usr/share/gitolite3/ -type f | grep -v -e VREF -e \.pm | xargs file | grep executable | cut -d : -f 1 | sort /usr/share/gitolite3/commands/access /usr/share/gitolite3/commands/creator /usr/share/gitolite3/commands/D /usr/share/gitolite3/commands/desc /usr/share/gitolite3/commands/fork /usr/share/gitolite3/commands/git-config /usr/share/gitolite3/commands/help /usr/share/gitolite3/commands/htpasswd /usr/share/gitolite3/commands/info /usr/share/gitolite3/commands/list-dangling-repos /usr/share/gitolite3/commands/lock /usr/share/gitolite3/commands/mirror /usr/share/gitolite3/commands/perms /usr/share/gitolite3/commands/print-default-rc /usr/share/gitolite3/commands/push /usr/share/gitolite3/commands/sshkeys-lint /usr/share/gitolite3/commands/sskm /usr/share/gitolite3/commands/sudo /usr/share/gitolite3/commands/svnserve /usr/share/gitolite3/commands/symbolic-ref /usr/share/gitolite3/commands/writable /usr/share/gitolite3/gitolite /usr/share/gitolite3/gitolite-shell /usr/share/gitolite3/triggers/partial-copy /usr/share/gitolite3/triggers/post-compile/ssh-authkeys /usr/share/gitolite3/triggers/post-compile/ssh-authkeys-shell-users /usr/share/gitolite3/triggers/post-compile/update-git-configs /usr/share/gitolite3/triggers/post-compile/update-git-daemon-access-list /usr/share/gitolite3/triggers/post-compile/update-gitweb-access-list /usr/share/gitolite3/triggers/renice /usr/share/gitolite3/triggers/upstream # Fixed in selinux-policy-3.7.19-186.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-2013-0314.html |