Bug 1004589 - SELinux is preventing /usr/bin/boinc_client from using the 'execstack' accesses on a process.
SELinux is preventing /usr/bin/boinc_client from using the 'execstack' access...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-09-04 22:06 EDT by Joe Zeff
Modified: 2013-09-11 21:53 EDT (History)
4 users (show)

See Also:
Fixed In Version: selinux-policy-3.12.1-74.2.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-09-11 21:53:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joe Zeff 2013-09-04 22:06:27 EDT
Description of problem:
This suddenly showed up "out of the blue."  I have created and installed a local policy because in this case, it seems reasonable that boinc should have access to processes of this nature.
SELinux is preventing /usr/bin/boinc_client from using the 'execstack' accesses on a process.

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

If you believe that boinc_client should be allowed execstack access on processes labeled boinc_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
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:system_r:boinc_t:s0
Target Objects                 [ process ]
Source                        boinc_client
Source Path                   /usr/bin/boinc_client
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           boinc-client-7.0.65-1.git79b00ef.fc19.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-73.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.10.10-200.fc19.i686.PAE #1 SMP
                              Thu Aug 29 19:16:15 UTC 2013 i686 i686
Alert Count                   8
First Seen                    2013-08-02 15:22:29 PDT
Last Seen                     2013-09-02 14:54:51 PDT
Local ID                      ed60734e-e7cd-495d-a8fc-ce0466c61bca

Raw Audit Messages
type=AVC msg=audit(1378158891.748:65): avc:  denied  { execstack } for  pid=714 comm="boinc_client" scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:system_r:boinc_t:s0 tclass=process

type=SYSCALL msg=audit(1378158891.748:65): arch=i386 syscall=mprotect success=no exit=EACCES a0=bffd0000 a1=1000 a2=1000007 a3=bffd0000 items=0 ppid=709 pid=714 auid=4294967295 uid=990 gid=983 euid=990 suid=990 fsuid=990 egid=983 sgid=983 fsgid=983 ses=4294967295 tty=(none) comm=boinc_client exe=/usr/bin/boinc_client subj=system_u:system_r:boinc_t:s0 key=(null)

Hash: boinc_client,boinc_t,boinc_t,process,execstack

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.10-200.fc19.i686.PAE
type:           libreport

Potential duplicate: bug 665545
Comment 1 Miroslav Grepl 2013-09-05 09:20:30 EDT
we should change the boinc policy to handle execmem/execstack better and a new boolean for it. Basically BOINC needs this access but we should allow it using booolean for a user which run BOINC without these perms.
Comment 2 Fedora Update System 2013-09-09 03:54:15 EDT
selinux-policy-3.12.1-74.2.fc19 has been submitted as an update for Fedora 19.
Comment 3 Fedora Update System 2013-09-09 19:57:20 EDT
Package selinux-policy-3.12.1-74.2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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.12.1-74.2.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 4 Fedora Update System 2013-09-11 21:53:36 EDT
selinux-policy-3.12.1-74.2.fc19 has been pushed to the Fedora 19 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.