Bug 876657 - SELinux is preventing /usr/sbin/killall5 from 'getattr' accesses on the file /var/lib/boinc/projects/lhcathomeclassic.cern.ch_sixtrack/sixtrack_linux_sse3.
Summary: SELinux is preventing /usr/sbin/killall5 from 'getattr' accesses on the file ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7962641851e2baf097434c86c4b...
: 810822 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-14 16:46 UTC by freetux
Modified: 2012-12-20 15:05 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:05:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-14 16:46 UTC, freetux
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-14 16:46 UTC, freetux
no flags Details

Description freetux 2012-11-14 16:46:12 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.6-1.fc17.x86_64

description:
:SELinux is preventing /usr/sbin/killall5 from 'getattr' accesses on the file /var/lib/boinc/projects/lhcathomeclassic.cern.ch_sixtrack/sixtrack_linux_sse3.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that killall5 should be allowed getattr access on the sixtrack_linux_sse3 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/lhcathomeclassic.cern.ch_s
:                              ixtrack/sixtrack_linux_sse3 [ file ]
:Source                        pidof
:Source Path                   /usr/sbin/killall5
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           sysvinit-tools-2.88-6.dsf.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-159.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov
:                              5 21:59:35 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-11-14 18:27:08 CET
:Last Seen                     2012-11-14 18:27:08 CET
:Local ID                      0e2a795d-587a-4b2f-8b3e-476bc9704b20
:
:Raw Audit Messages
:type=AVC msg=audit(1352914028.287:44): avc:  denied  { getattr } for  pid=1042 comm="pidof" path="/var/lib/boinc/projects/lhcathomeclassic.cern.ch_sixtrack/sixtrack_linux_sse3" dev="dm-2" ino=1974942 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(1352914028.287:44): arch=x86_64 syscall=stat success=no exit=EACCES a0=7fff813cd8a0 a1=7fff813cd810 a2=7fff813cd810 a3=45 items=0 ppid=1038 pid=1042 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=/usr/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;
:


Potential duplicate bug: 810822

Comment 1 freetux 2012-11-14 16:46:18 UTC
Created attachment 645000 [details]
File: type

Comment 2 freetux 2012-11-14 16:46:20 UTC
Created attachment 645001 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-15 07:47:03 UTC
*** Bug 810822 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2012-11-15 09:17:23 UTC
Does everything work?

Comment 5 freetux 2012-11-15 10:41:15 UTC
(In reply to comment #4)
> Does everything work?

There is no apparent problem just a few times this type of error.

Comment 6 Miroslav Grepl 2012-11-15 11:49:11 UTC
Ok, I added dontaudit rule.

Comment 7 Fedora Update System 2012-11-21 11:54:26 UTC
selinux-policy-3.10.0-161.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-161.fc17

Comment 8 Fedora Update System 2012-11-22 03:56:44 UTC
Package selinux-policy-3.10.0-161.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-161.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18787/selinux-policy-3.10.0-161.fc17
then log in and leave karma (feedback).

Comment 9 freetux 2012-11-30 23:01:31 UTC
démarrage de boinc-client

Package: (null)
OS Release: Fedora release 17 (Beefy Miracle)

Comment 10 freetux 2012-11-30 23:11:17 UTC
Sorry in English is better : The problem has occured when I started boinc-client.

Comment 11 freetux 2012-11-30 23:21:35 UTC
more informations : http://fpaste.org/LDLC/raw/

Comment 12 freetux 2012-11-30 23:26:46 UTC
paste expired.

Nov 30 23:55:35 PinkFloyd setroubleshoot: SELinux is preventing /usr/sbin/killall5 from getattr access on the file /var/lib/boinc/projects/www.cosmologyathome.org/camb_2.16_x86_64-pc-linux-gnu. For complete SELinux messages. run sealert -l 01b9de36-f148-4897-b2b5-53a4bae327d6

Nov 30 23:55:35 PinkFloyd setroubleshoot: SELinux is preventing /usr/sbin/killall5 from getattr access on the file /var/lib/boinc/projects/milkyway.cs.rpi.edu_milkyway/milkyway_separation_1.01_x86_64-pc-linux-gnu. For complete SELinux messages. run sealert -l 01b9de36-f148-4897-b2b5-53a4bae327d6

Nov 30 23:55:35 PinkFloyd setroubleshoot: SELinux is preventing /usr/sbin/killall5 from getattr access on the file /var/lib/boinc/projects/milkyway.cs.rpi.edu_milkyway/milkyway_separation_1.01_x86_64-pc-linux-gnu. For complete SELinux messages. run sealert -l 01b9de36-f148-4897-b2b5-53a4bae327d6

Comment 13 Fedora Update System 2012-12-20 15:05:20 UTC
selinux-policy-3.10.0-161.fc17 has been pushed to the Fedora 17 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.