Bug 562984

Summary: SELinux is preventing /usr/sbin/cupsd "search" access on vmis.4F7E1Z.
Product: [Fedora] Fedora Reporter: Mitchell Richters <mjr4077au>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:beac05503de74c7854f774d87589078cea12bb065351a1733f1ed16a23ea44d1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-09 12:54:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mitchell Richters 2010-02-08 22:58:00 UTC
Summary:

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

Detailed Description:

[cupsd has a permissive type (cupsd_t). This access was not denied.]

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://docs.fedoraproject.org/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.4F7E1Z [ 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-82.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.7-37.fc12.x86_64 #1
                              SMP Fri Jan 29 14:19:39 UTC 2010 x86_64 x86_64
Alert Count                   16
First Seen                    Tue 09 Feb 2010 09:56:51 AM EST
Last Seen                     Tue 09 Feb 2010 09:56:51 AM EST
Local ID                      c542da85-9cf6-46b9-95d8-6699a615b898
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265669811.775:29020): avc:  denied  { search } for  pid=4123 comm="cupsd" name="vmis.4F7E1Z" dev=dm-0 ino=8002 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(1265669811.775:29020): arch=c000003e syscall=4 success=yes exit=128 a0=7fffe1d44b10 a1=7fffe1d44bf0 a2=7fffe1d44bf0 a3=ffffffff items=0 ppid=4120 pid=4123 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 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-82.fc12,catchall,cupsd,cupsd_t,user_tmp_t,dir,search
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2010-02-09 12:54:59 UTC

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