Bug 1403485 - SELinux is preventing iw from 'read' accesses on the file psched.
Summary: SELinux is preventing iw from 'read' accesses on the file psched.
Keywords:
Status: CLOSED DUPLICATE of bug 1403486
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:77c464975e9580cd4520c004303...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-10 15:37 UTC by Jia Yuan Lo
Modified: 2017-01-06 13:45 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-06 13:45:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jia Yuan Lo 2016-12-10 15:37:45 UTC
Description of problem:
Happened after 1st time install BOINC client and 1st time starting BOINC client service
SELinux is preventing iw from 'read' accesses on the file psched.

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

If you believe that iw should be allowed read access on the psched 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:
# 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:object_r:proc_net_t:s0
Target Objects                psched [ file ]
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                      b3a92afe-baef-437c-baac-c4339897edcc

Raw Audit Messages
type=AVC msg=audit(1481382534.551:159): avc:  denied  { read } for  pid=1103 comm="iw" name="psched" dev="proc" ino=4026531982 scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file permissive=1


Hash: iw,tlp_t,proc_net_t,file,read

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 Michał 2017-01-04 16:29:31 UTC
Description of problem:
Just boot up

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

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

Comment 2 Lukas Vrabec 2017-01-06 13:45:19 UTC

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


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