Bug 1241989 - SELinux is preventing nm-dispatcher from using the 'signull' accesses on a process.
Summary: SELinux is preventing nm-dispatcher from using the 'signull' accesses on a pr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d6ca23aeffd32418da62d29b426...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-10 15:02 UTC by Charles R. Anderson
Modified: 2015-08-15 02:11 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-105.20.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-15 02:11:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Charles R. Anderson 2015-07-10 15:02:31 UTC
Description of problem:
Wakeup from suspend.
SELinux is preventing nm-dispatcher from using the 'signull' accesses on a process.

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

If you believe that nm-dispatcher should be allowed signull access on processes labeled dnssec_trigger_t 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 nm-dispatcher /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:system_r:dnssec_trigger_t:s0
Target Objects                Unknown [ process ]
Source                        nm-dispatcher
Source Path                   nm-dispatcher
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-105.19.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.7-200.fc21.x86_64 #1 SMP Mon
                              Jun 29 22:11:52 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-07-10 11:01:28 EDT
Last Seen                     2015-07-10 11:01:28 EDT
Local ID                      9902fee0-5b9d-417e-be73-e2ca29fca5b6

Raw Audit Messages
type=AVC msg=audit(1436540488.792:580): avc:  denied  { signull } for  pid=1423 comm="nm-dispatcher" scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:system_r:dnssec_trigger_t:s0 tclass=process permissive=0


Hash: nm-dispatcher,NetworkManager_t,dnssec_trigger_t,process,signull

Version-Release number of selected component:
selinux-policy-3.13.1-105.19.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         4.0.7-200.fc21.x86_64
type:           libreport

Potential duplicate: bug 1228465

Comment 1 Lukas Vrabec 2015-07-10 15:36:37 UTC
commit 01ce8c278e15f6a52811d631f47cdecbdf69b7b6
Author: Lukas Vrabec <lvrabec>
Date:   Fri Jul 10 17:35:58 2015 +0200

    Allow NetworkManager_t send signull to dnssec_trigger_t.

Comment 2 Fedora Update System 2015-07-21 15:50:01 UTC
selinux-policy-3.13.1-105.20.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-105.20.fc21

Comment 3 Fedora Update System 2015-07-29 01:59:17 UTC
Package selinux-policy-3.13.1-105.20.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.13.1-105.20.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-12049/selinux-policy-3.13.1-105.20.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-08-15 02:11:09 UTC
selinux-policy-3.13.1-105.20.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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