Bug 770176 - SELinux is preventing /usr/bin/boinc_client from 'read' accesses on the file /etc/hosts.
Summary: SELinux is preventing /usr/bin/boinc_client from 'read' accesses on the file ...
Keywords:
Status: CLOSED DUPLICATE of bug 770148
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ba92911783ef1538221767be0bb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-23 22:20 UTC by Robert Kief
Modified: 2011-12-25 18:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-25 18:15:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Kief 2011-12-23 22:20:54 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.5-2.fc16.x86_64
reason:         SELinux is preventing /usr/bin/boinc_client from 'read' accesses on the file /etc/hosts.
time:           Fri 23 Dec 2011 04:20:21 PM CST

description:
:SELinux is preventing /usr/bin/boinc_client from 'read' accesses on the file /etc/hosts.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that boinc_client should be allowed read access on the hosts 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 boinc_client /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:boinc_t:s0
:Target Context                system_u:object_r:net_conf_t:s0
:Target Objects                /etc/hosts [ file ]
:Source                        boinc_client
:Source Path                   /usr/bin/boinc_client
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           boinc-client-6.12.35-1.r24014svn.fc16
:Target RPM Packages           setup-2.8.36-2.fc16
:Policy RPM                    selinux-policy-3.10.0-67.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.5-2.fc16.x86_64 #1 SMP
:                              Mon Dec 12 21:25:51 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 23 Dec 2011 11:24:00 AM CST
:Last Seen                     Fri 23 Dec 2011 11:24:00 AM CST
:Local ID                      c6f33d56-74c9-457e-a202-32689ca452a9
:
:Raw Audit Messages
:type=AVC msg=audit(1324661040.247:7497): avc:  denied  { read } for  pid=11638 comm="boinc_client" name="hosts" dev=dm-1 ino=1703975 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:net_conf_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1324661040.247:7497): arch=x86_64 syscall=open success=no exit=EACCES a0=7fac2497a9e0 a1=80000 a2=1b6 a3=238 items=0 ppid=1 pid=11638 auid=4294967295 uid=992 gid=989 euid=992 suid=992 fsuid=992 egid=989 sgid=989 fsgid=989 tty=(none) ses=4294967295 comm=boinc_client exe=/usr/bin/boinc_client subj=system_u:system_r:boinc_t:s0 key=(null)
:
:Hash: boinc_client,boinc_t,net_conf_t,file,read
:
:audit2allow
:
:#============= boinc_t ==============
:allow boinc_t net_conf_t:file read;
:
:audit2allow -R
:
:#============= boinc_t ==============
:allow boinc_t net_conf_t:file read;
:

Comment 1 Miroslav Grepl 2011-12-25 18:15:30 UTC

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


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