Bug 671011 - SELinux is preventing /usr/sbin/cupsd from using the 'execstack' accesses on a process.
Summary: SELinux is preventing /usr/sbin/cupsd from using the 'execstack' accesses on ...
Keywords:
Status: CLOSED DUPLICATE of bug 671002
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:2569188c42f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-19 22:08 UTC by Nikita Bige
Modified: 2011-01-20 09:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-20 09:08:41 UTC
Type: ---


Attachments (Terms of Use)

Description Nikita Bige 2011-01-19 22:08:25 UTC
SELinux is preventing /usr/sbin/cupsd from using the 'execstack' accesses on a process.

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

If you believe that cupsd should be allowed execstack access on processes labeled cupsd_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 cupsd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Objects                Unknown [ process ]
Source                        cupsd
Source Path                   /usr/sbin/cupsd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           cups-1.4.6-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-20.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.10-74.fc14.x86_64 #1
                              SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Mon 17 Jan 2011 05:52:20 PM MSK
Last Seen                     Thu 20 Jan 2011 12:35:28 AM MSK
Local ID                      093ec557-5e4d-4679-9ef3-49d97fa3756a

Raw Audit Messages
type=AVC msg=audit(1295472928.98:5): avc:  denied  { execstack } for  pid=1621 comm="cupsd" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=process

cupsd,cupsd_t,cupsd_t,process,execstack
type=AVC msg=audit(1295472928.98:5): avc:  denied  { execmem } for  pid=1621 comm="cupsd" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=process

cupsd,cupsd_t,cupsd_t,process,execstack
type=SYSCALL msg=audit(1295472928.98:5): arch=x86_64 syscall=mprotect success=yes exit=0 a0=7fff9fee0000 a1=1000 a2=1000007 a3=7f5c12801000 items=0 ppid=1620 pid=1621 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=cupsd exe=/usr/sbin/cupsd subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)
cupsd,cupsd_t,cupsd_t,process,execstack

#============= cupsd_t ==============
allow cupsd_t self:process { execstack execmem };

Comment 1 Miroslav Grepl 2011-01-20 09:08:41 UTC

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


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