Bug 1147608 - SELinux is preventing unbound-control from 'write' accesses on the file /run/dnssec-trigger/lock.
Summary: SELinux is preventing unbound-control from 'write' accesses on the file /run/...
Keywords:
Status: CLOSED DUPLICATE of bug 1147705
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:de983f9e38eb5b1f7314d2e5a5a...
: 1158117 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 14:54 UTC by Moez Roy
Modified: 2014-10-29 10:18 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-13 14:05:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2014-09-29 14:54:12 UTC
Description of problem:
SELinux is preventing unbound-control from 'write' accesses on the file /run/dnssec-trigger/lock.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that unbound-control should be allowed write access on the lock 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                /run/dnssec-trigger/lock [ file ]
Source                        unbound-control
Source Path                   unbound-control
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-83.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.17.0-0.rc6.git2.1.fc22.x86_64 #1
                              SMP Wed Sep 24 14:05:08 UTC 2014 x86_64 x86_64
Alert Count                   16
First Seen                    2014-09-29 07:42:47 PDT
Last Seen                     2014-09-29 07:42:49 PDT
Local ID                      4940a4a2-134f-42b3-9ff1-f1a00fb71688

Raw Audit Messages
type=AVC msg=audit(1412001769.141:489): avc:  denied  { write } for  pid=2575 comm="unbound-control" path="/run/dnssec-trigger/lock" dev="tmpfs" ino=34726 scontext=system_u:system_r:named_t:s0 tcontext=system_u:object_r:dnssec_trigger_var_run_t:s0 tclass=file permissive=0


Hash: unbound-control,named_t,dnssec_trigger_var_run_t,file,write

Version-Release number of selected component:
selinux-policy-3.13.1-83.fc22.noarch

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.17.0-0.rc6.git2.1.fc22.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-10-13 14:05:42 UTC

*** This bug has been marked as a duplicate of bug 1147705 ***

Comment 2 Lukas Vrabec 2014-10-29 10:18:22 UTC
*** Bug 1158117 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.