Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1401233 - SELinux is preventing iw from 'ioctl' accesses on the unix_dgram_socket unix_dgram_socket.
Summary: SELinux is preventing iw from 'ioctl' accesses on the unix_dgram_socket unix_...
Keywords:
Status: CLOSED ERRATA
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:a56b0b495bcd6308dc918b78935...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-03 19:08 UTC by Alex
Modified: 2016-12-12 23:58 UTC (History)
13 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-12 23:58:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alex 2016-12-03 19:08:37 UTC
Description of problem:
SELinux is preventing iw from 'ioctl' accesses on the unix_dgram_socket unix_dgram_socket.

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

If you believe that iw should be allowed ioctl access on the unix_dgram_socket 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                unix_dgram_socket [ 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.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
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-03 11:07:36 PST
Last Seen                     2016-12-03 11:07:36 PST
Local ID                      bc31663d-9ce0-4c64-bbd1-e3018159f32f

Raw Audit Messages
type=AVC msg=audit(1480792056.135:219): avc:  denied  { ioctl } for  pid=1555 comm="iw" path="socket:[27862]" dev="sockfs" ino=27862 ioctlcmd=0x8933 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,ioctl

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

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

Comment 1 Matthias Runge 2016-12-08 19:57:09 UTC
Description of problem:
wake up from suspend to ram

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 Fedora Update System 2016-12-09 13:47:12 UTC
selinux-policy-3.13.1-225.3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f24b3ddc6a

Comment 3 Fedora Update System 2016-12-10 03:58:12 UTC
selinux-policy-3.13.1-225.3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f24b3ddc6a

Comment 4 Jia Yuan Lo 2016-12-10 15:41:47 UTC
Description of problem:
Happened after 1st time install BOINC client and 1st time starting BOINC client service

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 5 Doaxan 2016-12-11 04:24:49 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 6 nd3p3nd3nt 2016-12-11 23:51:34 UTC
*** Bug 1403616 has been marked as a duplicate of this bug. ***

Comment 7 Charles-Henri d'Adhémar 2016-12-12 19:44:13 UTC
Description of problem:
Closing the laptop lid and opening the lid causes the issue.

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.11-300.fc25.x86_64
type:           libreport

Comment 8 Fedora Update System 2016-12-12 23:58:37 UTC
selinux-policy-3.13.1-225.3.fc25 has been pushed to the Fedora 25 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.