Bug 488787
| Summary: | SELinux, avc denial when running monitoring probes | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | wes hayutin <whayutin> |
| Component: | Monitoring | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Status: | CLOSED DEFERRED | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 530 | CC: | mzazrivec |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | na | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-29 20:02:52 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: | 487221 | ||
| Bug Blocks: | 462714 | ||
/var/log/audit/audit.log:type=AVC msg=audit(1236274886.277:5673): avc: denied { node_bind } for pid=22126 comm="execute_command" scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:inaddr_any_node_t:s0 tclass=tcp_socket
/var/log/audit/audit.log:type=AVC msg=audit(1236274886.277:5674): avc: denied { name_bind } for pid=22126 comm="execute_command" src=718 scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=tcp_socket
/var/log/audit/audit.log:type=AVC msg=audit(1236274886.277:5675): avc: denied { name_connect } for pid=22126 comm="execute_command" dest=111 scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket
/var/log/audit/audit.log:type=AVC msg=audit(1236274886.277:5676): avc: denied { node_bind } for pid=22126 comm="execute_command" scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:inaddr_any_node_t:s0 tclass=tcp_socket
/var/log/audit/audit.log:type=AVC msg=audit(1236274886.277:5677): avc: denied { name_bind } for pid=22126 comm="execute_command" src=719 scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=tcp_socket
/var/log/audit/audit.log:type=AVC msg=audit(1236274886.277:5678): avc: denied { name_connect } for pid=22126 comm="execute_command" dest=111 scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket
What compose (version) is this on? Please, *always* use the bugzilla template when filing new bugzilla. Thank you. oops. my fault. Satellite-5.3.0-RHEL5-re20090227.1-i386-embedded-oracle.iso *** Bug 489576 has been marked as a duplicate of this bug. *** The AVC denial messages seem NIS-related, so very similar to bug 487221. Moving to ON_QA as spacewalk-monitoring-selinux-0.5.6-1 which added the nis_use_ypbind_uncond is available in Satellite-5.3.0-RHEL5-re20090327.0 compose. verified This one needs to be retested after bug #487221 is fixed. Reopening and punting to sat600-triage for re-evaluation. |
Description of problem: /var/log/audit/audit.log:type=AVC msg=audit(1236274886.277:5672): avc: denied { search } for pid=22126 comm="execute_command" name="yp" dev=dm-0 ino=1504428 scontext=root:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:var_yp_t:s0 tclass=dir [root@grandprix audit]# ps -ef | grep 22126 root 13148 14611 0 13:34 pts/0 00:00:00 grep 22126 root 22126 22125 0 12:22 ? 00:00:01 /usr/bin/perl /usr/bin/execute_commands [root@grandprix audit]# recreate.. run monitoring automation, check audit.log manual.. probes listed here.. Probe(s) assigned to system have an UNKNOWN status Apache: Processes Cannot find Max Child and Slot MB metrics at URL http://10.10.76.146%20%20%20%20:80/server-status Suite Probe(s) assigned to system have an UNKNOWN status Linux: Load The RHN Monitoring Daemon (RHNMD) is not responding: Internal problem executing Unix::Load: open3: exec of /usr/bin/ssh -l nocpulse -p 4545 -i /var/lib/nocpulse/.ssh/nocpulse-identity -o StrictHostKeyChecking=no -o BatchMode=yes 10.10.76.146 /bin/sh -s failed. Please make sure the daemon is running and the host is accessible from the monitoring scout. Command was: /usr/bin/ssh -l nocpulse -p 4545 -i /var/lib/nocpulse/.ssh/nocpulse-identity -o StrictHostKeyChecking=no -o BatchMode=yes 10.10.76.146 /bin/sh -s Suite Probe(s) assigned to system have an UNKNOWN status Linux: Memory Usage The RHN Monitoring Daemon (RHNMD) is not responding: Internal problem executing Unix::MemoryFree: open3: exec of /usr/bin/ssh -l nocpulse -p 4545 -i /var/lib/nocpulse/.ssh/nocpulse-identity -o StrictHostKeyChecking=no -o BatchMode=yes 10.10.76.146 /bin/sh -s failed. Please make sure the daemon is running and the host is accessible from the monitoring scout. Command was: /usr/bin/ssh -l nocpulse -p 4545 -i /var/lib/nocpulse/.ssh/nocpulse-identity -o StrictHostKeyChecking=no -o BatchMode=yes 10.10.76.146 /bin/sh -s Suite Probe(s) assigned to system have an UNKNOWN status Linux: Virtual Memory The RHN Monitoring Daemon (RHNMD) is not responding: Internal problem executing Unix::VirtualMemory: open3: exec of /usr/bin/ssh -l nocpulse -p 4545 -i /var/lib/nocpulse/.ssh/nocpulse-identity -o StrictHostKeyChecking=no -o BatchMode=yes 10.10.76.146 /bin/sh -s failed. Please make sure the daemon is running and the host is accessible from the monitoring scout. Command was: /usr/bin/ssh -l nocpulse -p 4545 -i /var/lib/nocpulse/.ssh/nocpulse-identity -o StrictHostKeyChecking=no -o BatchMode=yes 10.10.76.146 /bin/sh -s Suite Probe(s) assigned to system have an UNKNOWN status Network Services: Ping