Bug 1158117
| Summary: | SELinux is preventing /usr/sbin/unbound-control from 'write' accesses on the file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Laurent Rineau <laurent.rineau__fedora> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:de983f9e38eb5b1f7314d2e5a5ae1dce941a71ae494fc1f1099b9ea4ef52bfd7 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-29 10:18:21 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: | |||
*** This bug has been marked as a duplicate of bug 1147608 *** |
Description of problem: SELinux is preventing /usr/sbin/unbound-control from 'write' accesses on the file . ***** Plugin leaks (86.2 confidence) suggests ***************************** If you want to ignore unbound-control trying to write access the 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/unbound-control /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp ***** Plugin catchall (14.7 confidence) suggests ************************** If you believe that unbound-control should be allowed write access on the 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 unbound-control /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:named_t:s0 Target Context system_u:object_r:dnssec_trigger_var_run_t:s0 Target Objects [ file ] Source unbound-control Source Path /usr/sbin/unbound-control Port <Unknown> Host (removed) Source RPM Packages unbound-1.4.22-5.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-189.fc20.noarch selinux- policy-3.12.1-192.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.16.6-200.fc20.x86_64 #1 SMP Wed Oct 15 13:06:51 UTC 2014 x86_64 x86_64 Alert Count 6 First Seen 2014-10-28 16:34:12 CET Last Seen 2014-10-28 16:34:13 CET Local ID 2535043f-7e72-4a9e-896b-f27ff2ac28a6 Raw Audit Messages type=AVC msg=audit(1414510453.502:247334): avc: denied { write } for pid=17396 comm="unbound-control" path="/run/dnssec-trigger/lock" dev="tmpfs" ino=11602034 scontext=system_u:system_r:named_t:s0 tcontext=system_u:object_r:dnssec_trigger_var_run_t:s0 tclass=file permissive=0 type=SYSCALL msg=audit(1414510453.502:247334): arch=x86_64 syscall=execve success=yes exit=0 a0=2768060 a1=25e0db0 a2=23eb590 a3=0 items=0 ppid=17389 pid=17396 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=unbound-control exe=/usr/sbin/unbound-control subj=system_u:system_r:named_t:s0 key=(null) Hash: unbound-control,named_t,dnssec_trigger_var_run_t,file,write Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.6-200.fc20.x86_64 type: libreport Potential duplicate: bug 1147608