Bug 1403491 - SELinux is preventing iw from 'create' accesses on the unix_dgram_socket Unknown.
Summary: SELinux is preventing iw from 'create' accesses on the unix_dgram_socket Unkn...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fbd6b07e8deac819707cd6775a6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-10 15:41 UTC by Jia Yuan Lo
Modified: 2016-12-14 15:33 UTC (History)
11 users (show)

Fixed In Version: selinux-policy-3.13.1-225.3.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 15:33:14 UTC
Type: ---


Attachments (Terms of Use)

Description Jia Yuan Lo 2016-12-10 15:41:11 UTC
Description of problem:
Happened after 1st time install BOINC client and 1st time starting BOINC client service
SELinux is preventing iw from 'create' accesses on the unix_dgram_socket Unknown.

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

If you believe that iw should be allowed create access on the Unknown 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:
# ausearch -c 'iw' --raw | audit2allow -M my-iw
# semodule -X 300 -i my-iw.pp

Additional Information:
Source Context                system_u:system_r:tlp_t:s0
Target Context                system_u:system_r:tlp_t:s0
Target Objects                Unknown [ unix_dgram_socket ]
Source                        iw
Source Path                   iw
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.1.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.8.12-300.fc25.x86_64 #1 SMP Fri
                              Dec 2 17:52:11 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-12-10 23:08:54 MYT
Last Seen                     2016-12-10 23:08:54 MYT
Local ID                      04f8dbc7-3d3b-4806-8371-0987008bf648

Raw Audit Messages
type=AVC msg=audit(1481382534.551:166): avc:  denied  { create } for  pid=1103 comm="iw" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=unix_dgram_socket permissive=1


Hash: iw,tlp_t,tlp_t,unix_dgram_socket,create

Version-Release number of selected component:
selinux-policy-3.13.1-225.1.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.12-300.fc25.x86_64
type:           libreport

Comment 1 Doaxan 2016-12-11 04:27:02 UTC
Description of problem:
After latest update, i get this after every reboot.

Version-Release number of selected component:
selinux-policy-3.13.1-225.1.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.12-300.fc25.x86_64
type:           libreport

Comment 2 Paul Finnigan 2016-12-11 14:13:34 UTC
Ditto. Along with other iw related selinux errors:

SELinux is preventing iw from ioctl access on the unix_dgram_socket unix_dgram_socket.

SELinux is preventing iw from getattr access on the netlink_generic_socket Unknown.

SELinux is preventing iw from bind access on the netlink_generic_socket Unknown.

SELinux is preventing iw from setopt access on the netlink_generic_socket Unknown.

SELinux is preventing iw from create access on the netlink_generic_socket Unknown.

SELinux is preventing iw from getattr access on the file /proc/<pid>/net/psched.

SELinux is preventing iw from read access on the file psched.

SELinux is preventing iw from open access on the file /proc/<pid>/net/psched.


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