| Summary: | SELinux is preventing auditd from 'sendto' accesses on the unix_dgram_socket /dev/log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Luya Tshimbalanga <luya> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dwalsh, jlayton, mgrepl, vondruch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:7b9893d3124a64663746190ab3f6d248e7605ef3b593de5ee95647f4164c7253 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-26 20:48:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Looks like syslog is running as initrc_t domain. What is your output of # ps -eZ | grep syslog # ls -lZ /sbin/rsyslogd # matchpathcon /sbin/rsyslogd # ps -eZ | grep syslog system_u:system_r:syslogd_t:s0 855 ? 00:00:22 rsyslogd # ls -lZ /sbin/rsyslogd -rwxr-xr-x. root root system_u:object_r:syslogd_exec_t:s0 /sbin/rsyslogd # matchpathcon /sbin/rsyslogd /sbin/rsyslogd system_u:object_r:syslogd_exec_t:s0 ps -eZ | grep initrc_t It looks like something at sometime was running as initrc_t and listening on /dev/log. |
SELinux is preventing auditd from 'sendto' accesses on the unix_dgram_socket /dev/log. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that auditd should be allowed sendto access on the log unix_dgram_socket by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep auditd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:auditd_t:s0 Target Context system_u:system_r:initrc_t:s0 Target Objects /dev/log [ unix_dgram_socket ] Source auditd Source Path auditd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.9.14-2.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38-0.rc4.git7.1.fc15.i686 #1 SMP Mon Feb 14 01:26:37 UTC 2011 i686 i686 Alert Count 5 First Seen Thu 17 Feb 2011 10:25:28 AM PST Last Seen Thu 17 Feb 2011 07:16:08 PM PST Local ID 7d7e4f97-1048-419e-89ac-7573ed157e25 Raw Audit Messages type=AVC msg=audit(1297998968.190:437): avc: denied { sendto } for pid=897 comm="auditd" path="/dev/log" scontext=system_u:system_r:auditd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=unix_dgram_socket Hash: auditd,auditd_t,initrc_t,unix_dgram_socket,sendto audit2allow #============= auditd_t ============== allow auditd_t initrc_t:unix_dgram_socket sendto; audit2allow -R #============= auditd_t ============== allow auditd_t initrc_t:unix_dgram_socket sendto;