Bug 565360

Summary: SELinux is preventing /usr/sbin/cupsd "search" access on vmis.0P9Rr8.
Product: [Fedora] Fedora Reporter: Peter Taylor <peter.taylor>
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: arkiados, b2062407, dwalsh, edsosa11385, ekanter, mgrepl, peter.taylor, takacsis, tmax
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:6cfa043e5d72ccc84bef38f9d41f25e2432d2124e3b479dd6e2b68c6fd2d26d8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-15 10:05:23 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 Peter Taylor 2010-02-15 01:22:00 UTC
Summary:

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

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.0P9Rr8 [ 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-84.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   16
First Seen                    Sat 13 Feb 2010 10:37:15 PM EST
Last Seen                     Sat 13 Feb 2010 10:37:15 PM EST
Local ID                      158e9f37-23ed-46a4-b5dd-e542c4718d06
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1266118635.741:32082): avc:  denied  { search } for  pid=2557 comm="cupsd" name="vmis.0P9Rr8" dev=dm-7 ino=128041 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(1266118635.741:32082): arch=c000003e syscall=4 success=yes exit=68719476864 a0=7fff5ddfe5b0 a1=7fff5ddfe690 a2=7fff5ddfe690 a3=ffffffff items=0 ppid=2554 pid=2557 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  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-15 10:05:23 UTC

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