Bug 668416 - SELinux is preventing /opt/Adobe/Reader9/Reader/intellinux/bin/acroread from using the 'execstack' accesses on a process.
Summary: SELinux is preventing /opt/Adobe/Reader9/Reader/intellinux/bin/acroread from ...
Keywords:
Status: CLOSED DUPLICATE of bug 652297
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:58b92096f4c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-10 13:08 UTC by csotto
Modified: 2011-07-12 00:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-10 14:36:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description csotto 2011-01-10 13:08:23 UTC
SELinux is preventing /opt/Adobe/Reader9/Reader/intellinux/bin/acroread from using the 'execstack' accesses on a process.

==> NOTE: <=================================
BUG #1 - Acroread produces an SELinux Error
BUG #2 - Instruction (recommended action) below produces Syntax Error
[root@fedora14 ~]# grep /opt/Adobe/Reader9/Reader/intellinux/bin/acroread /var/log/audit/	audit.log | audit2allow -M mypol
compilation failed:
mypol.te:6:ERROR 'syntax error' at token '' on line 6:
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
/usr/bin/checkmodule:  loading policy configuration from mypol.te
===========================================

*****  Plugin catchall (5.76 confidence) suggests  ***************************

If you believe that acroread should be allowed execstack access on processes labeled unconfined_t 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 /opt/Adobe/Reader9/Reader/intellinux/bin/acroread /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                Unknown [ process ]
Source                        acroread
Source Path                   /opt/Adobe/Reader9/Reader/intellinux/bin/acroread
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-19.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux fedora14 2.6.35.10-74.fc14.i686 #1 SMP Thu
                              Dec 23 16:17:40 UTC 2010 i686 i686
Alert Count                   3
First Seen                    Mon 10 Jan 2011 09:41:31 AM BRST
Last Seen                     Mon 10 Jan 2011 09:41:31 AM BRST
Local ID                      5ec0b8f1-4764-4a89-b35d-8917cda49150

Raw Audit Messages
type=AVC msg=audit(1294659691.971:22447): avc:  denied  { execstack } for  pid=2179 comm="acroread" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process

acroread,unconfined_t,unconfined_t,process,execstack
type=SYSCALL msg=audit(1294659691.971:22447): arch=i386 syscall=mprotect success=no exit=EACCES a0=bf8da000 a1=1000 a2=1000007 a3=bf8da46c items=0 ppid=2046 pid=2179 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=acroread exe=/opt/Adobe/Reader9/Reader/intellinux/bin/acroread subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
acroread,unconfined_t,unconfined_t,process,execstack

#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'allow_execstack'

allow unconfined_t self:process execstack;

Comment 1 Daniel Walsh 2011-01-10 14:36:17 UTC

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


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