| Summary: | SELinux is preventing /usr/sbin/exim from 'append' accesses on the file /var/lib/rkhunter/rkhcronlog.WxzHJfwUYD. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Murphy <frankly3d> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:9c1a7f86a7922ab4680fba7aef4529176aef23a08e7fe73e7e7e87ea3acdd05c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-29 10:09:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*Apologies* sent in error. |
SELinux is preventing /usr/sbin/exim from 'append' accesses on the file /var/lib/rkhunter/rkhcronlog.WxzHJfwUYD. ***** Plugin restorecon (98.5 confidence) suggests ************************* If you want to fix the label. /var/lib/rkhunter/rkhcronlog.WxzHJfwUYD default label should be var_lib_t. Then you can run restorecon. Do # /sbin/restorecon -v /var/lib/rkhunter/rkhcronlog.WxzHJfwUYD ***** Plugin catchall (1.48 confidence) suggests *************************** If you believe that exim should be allowed append access on the rkhcronlog.WxzHJfwUYD file 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 sendmail /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ***** Plugin leaks (1.48 confidence) suggests ****************************** If you want to ignore exim trying to append access the rkhcronlog.WxzHJfwUYD file, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /usr/sbin/exim /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:exim_t:s0-s0:c0.c1023 Target Context system_u:object_r:cron_var_lib_t:s0 Target Objects /var/lib/rkhunter/rkhcronlog.WxzHJfwUYD [ file ] Source sendmail Source Path /usr/sbin/exim Port <Unknown> Host (removed) Source RPM Packages exim-4.72-2.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 Alert Count 3 First Seen Wed 13 Apr 2011 10:00:38 IST Last Seen Sun 15 May 2011 03:40:25 IST Local ID 0c16081e-6617-47a0-9426-e1994e22bff5 Raw Audit Messages type=AVC msg=audit(1305427225.863:132): avc: denied { append } for pid=32142 comm="sendmail" path="/var/lib/rkhunter/rkhcronlog.WxzHJfwUYD" dev=dm-2 ino=262236 scontext=system_u:system_r:exim_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cron_var_lib_t:s0 tclass=file type=SYSCALL msg=audit(1305427225.863:132): arch=x86_64 syscall=execve success=yes exit=0 a0=451e50 a1=b66ec8 a2=7fff256d0ae0 a3=8 items=0 ppid=1 pid=32142 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=17 comm=sendmail exe=/usr/sbin/exim subj=system_u:system_r:exim_t:s0-s0:c0.c1023 key=(null) Hash: sendmail,exim_t,cron_var_lib_t,file,append audit2allow #============= exim_t ============== allow exim_t cron_var_lib_t:file append; audit2allow -R #============= exim_t ============== allow exim_t cron_var_lib_t:file append;