Bug 699048 - SELinux is preventing /usr/sbin/cupsd from 'execute' accesses on the arquivo /usr/lib/cups/filter/rastertosamsungsplc.
Summary: SELinux is preventing /usr/sbin/cupsd from 'execute' accesses on the arquivo ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:2ceda2789a7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-22 19:30 UTC by aironmcphee
Modified: 2011-12-06 23:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-25 13:45:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description aironmcphee 2011-04-22 19:30:05 UTC
SELinux is preventing /usr/sbin/cupsd from 'execute' accesses on the arquivo /usr/lib/cups/filter/rastertosamsungsplc.

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

If you believe that cupsd should be allowed execute access on the rastertosamsungsplc 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 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                unconfined_u:object_r:user_home_t:s0
Target Objects                /usr/lib/cups/filter/rastertosamsungsplc [ file ]
Source                        cupsd
Source Path                   /usr/sbin/cupsd
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           cups-1.4.6-15.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-16.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP
                              Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64
Alert Count                   53
First Seen                    Qua 13 Abr 2011 14:29:09 BRT
Last Seen                     Sex 22 Abr 2011 16:08:08 BRT
Local ID                      564a85fe-60e0-4a6f-9fad-76280d23394c

Raw Audit Messages
type=AVC msg=audit(1303499288.14:23): avc:  denied  { execute } for  pid=1150 comm="cupsd" name="rastertosamsungsplc" dev=dm-1 ino=18090 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file


type=SYSCALL msg=audit(1303499288.14:23): arch=x86_64 syscall=access success=no exit=EACCES a0=7fff52de0540 a1=1 a2=0 a3=7ffa0ecb0fd0 items=0 ppid=1029 pid=1150 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)

Hash: cupsd,cupsd_t,user_home_t,file,execute

audit2allow

#============= cupsd_t ==============
allow cupsd_t user_home_t:file execute;

audit2allow -R

#============= cupsd_t ==============
allow cupsd_t user_home_t:file execute;

Comment 1 Daniel Walsh 2011-04-25 13:44:51 UTC
restorecon -R -v /usr/lib/cups/filter/rastertosamsungsplc


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