Bug 810822

Summary: SELinux is preventing /sbin/killall5 from 'getattr' accesses on the soubor /var/lib/boinc/projects/milkyway.cs.rpi.edu_milkyway/milkyway_separation_1.01_x86_64-pc-linux-gnu.
Product: [Fedora] Fedora Reporter: Roman Kalivoda <kalivodaroman>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7962641851e2baf097434c86c4bf551f83f36907135585a9954d2226e3ea599c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-15 07:47:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Roman Kalivoda 2012-04-09 09:53:43 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.1-3.fc16.x86_64
reason:         SELinux is preventing /sbin/killall5 from 'getattr' accesses on the soubor /var/lib/boinc/projects/milkyway.cs.rpi.edu_milkyway/milkyway_separation_1.01_x86_64-pc-linux-gnu.
time:           Po 9. duben 2012, 11:52:43 CEST

description:
:SELinux is preventing /sbin/killall5 from 'getattr' accesses on the soubor /var/lib/boinc/projects/milkyway.cs.rpi.edu_milkyway/milkyway_separation_1.01_x86_64-pc-linux-gnu.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that killall5 should be allowed getattr access on the milkyway_separation_1.01_x86_64-pc-linux-gnu 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 pidof /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:boinc_project_var_lib_t:s0
:Target Objects                /var/lib/boinc/projects/milkyway.cs.rpi.edu_milkyw
:                              ay/milkyway_separation_1.01_x86_64-pc-linux-gnu [
:                              file ]
:Source                        pidof
:Source Path                   /sbin/killall5
:Port                          <Neznámé>
:Host                          (removed)
:Source RPM Packages           sysvinit-tools-2.88-5.dsf.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-80.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.1-3.fc16.x86_64 #1 SMP Wed Apr 4
:                              18:08:51 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    Po 9. duben 2012, 11:47:32 CEST
:Last Seen                     Po 9. duben 2012, 11:47:32 CEST
:Local ID                      eb177cc3-49aa-4122-8b6b-587a4d74ba50
:
:Raw Audit Messages
:type=AVC msg=audit(1333964852.778:110): avc:  denied  { getattr } for  pid=6848 comm="pidof" path="/var/lib/boinc/projects/milkyway.cs.rpi.edu_milkyway/milkyway_separation_1.01_x86_64-pc-linux-gnu" dev="dm-1" ino=2102777 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:boinc_project_var_lib_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1333964852.778:110): arch=x86_64 syscall=stat success=no exit=EACCES a0=7fff5040eca0 a1=7fff5040ec00 a2=7fff5040ec00 a3=0 items=0 ppid=6845 pid=6848 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pidof exe=/sbin/killall5 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: pidof,xdm_t,boinc_project_var_lib_t,file,getattr
:
:audit2allow
:
:#============= xdm_t ==============
:allow xdm_t boinc_project_var_lib_t:file getattr;
:
:audit2allow -R
:
:#============= xdm_t ==============
:allow xdm_t boinc_project_var_lib_t:file getattr;
:

Comment 1 Miroslav Grepl 2012-11-15 07:47:03 UTC

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