Bug 563664 - SELinux is preventing /usr/sbin/cupsd "search" access on vmis.zoD7vz.
Summary: SELinux is preventing /usr/sbin/cupsd "search" access on vmis.zoD7vz.
Keywords:
Status: CLOSED DUPLICATE of bug 560855
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f92deb6985e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-10 20:18 UTC by Rafael Souza
Modified: 2010-02-10 20:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-10 20:41:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rafael Souza 2010-02-10 20:18:36 UTC
Summary:

SELinux is preventing /usr/sbin/cupsd "search" access on vmis.zoD7vz.

Detailed Description:

SELinux denied access requested by cupsd. It is not expected that this access is
required by cupsd and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_tmp_t:s0
Target Objects                vmis.zoD7vz [ dir ]
Source                        cupsd
Source Path                   /usr/sbin/cupsd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           cups-1.4.2-20.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-66.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.9-174.fc12.x86_64 #1 SMP Mon
                              Dec 21 05:33:33 UTC 2009 x86_64 x86_64
Alert Count                   16
First Seen                    Mon 11 Jan 2010 03:56:09 PM BRST
Last Seen                     Mon 11 Jan 2010 03:56:09 PM BRST
Local ID                      2dcc3185-8c7d-4bed-9697-d774db252f0d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1263232569.598:44): avc:  denied  { search } for  pid=18382 comm="cupsd" name="vmis.zoD7vz" dev=dm-1 ino=669744 scontext=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1263232569.598:44): arch=c000003e syscall=4 success=no exit=-13 a0=7fff6ed7d6c0 a1=7fff6ed7d7a0 a2=7fff6ed7d7a0 a3=ffffffff items=0 ppid=18379 pid=18382 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="cupsd" exe="/usr/sbin/cupsd" subj=unconfined_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-66.fc12,catchall,cupsd,cupsd_t,user_tmp_t,dir,search
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t user_tmp_t:dir search;

Comment 1 Daniel Walsh 2010-02-10 20:41:54 UTC

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

Comment 2 Daniel Walsh 2010-02-10 20:46:38 UTC
Also could you update your setroubleshoot to stop the login process indicating you have new bugs.

yum update setroubleshoot\* --enablerepo=updates-testing


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