Bug 651609
| Summary: | clustat denied bind to hi_reserved_port_t | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Nate Straz <nstraz> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.6 | CC: | cluster-maint, dwalsh, edamato, mmalik |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-2.4.6-301.el5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-21 09:21: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: | |||
|
Description
Nate Straz
2010-11-09 21:39:59 UTC
Example of the AVC and following message:
type=AVC msg=audit(1289314629.926:630): avc: denied { name_bind } for pid=17395 comm="clustat" src=1023 scontext=system_u:system_r:ricci_modclusterd_t:s0 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1289314629.926:630): arch=c000003e syscall=49 success=no exit=-13 a0=5 a1=7fff2b9b2ff0 a2=1c a3=7fff2b9b3028 items=0 ppid=9731 pid=17395 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="clustat" exe="/usr/sbin/clustat" subj=system_u:system_r:ricci_modclusterd_t:s0 key=(null)
type=AVC msg=audit(1289314629.927:631): avc: denied { name_bind } for pid=17395 comm="clustat" src=611 scontext=system_u:system_r:ricci_modclusterd_t:s0 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=tcp_socket
type=SYSCALL msg=audit(1289314629.927:631): arch=c000003e syscall=49 success=no exit=-13 a0=5 a1=7fff2b9b3010 a2=10 a3=0 items=0 ppid=9731 pid=17395 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="clustat" exe="/usr/sbin/clustat" subj=system_u:system_r:ricci_modclusterd_t:s0 key=(null)
Nate, did you setup NIS and cluster environment together. Does clustat bind to a reserved port? bindresvport (3) - bind a socket to a privileged IP port Miroslav I think the policy should be corenet_tcp_bind_all_rpc_ports(ricci_modclusterd_t) Please do this in F13,F14 and RHEL6 also. Yes, it looks so. clustat talks to ccsd via libccs which calls bindresvport() Thanks Lon. Fixed in selinux-policy-2.4.6-301.el5 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1069.html An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1069.html |