Bug 636360 - SELinux is preventing /usr/bin/c2s "getattr" access on /etc/selinux/targeted/contexts/files/file_contexts.
Summary: SELinux is preventing /usr/bin/c2s "getattr" access on /etc/selinux/targ...
Keywords:
Status: CLOSED DUPLICATE of bug 636359
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6d420e8014a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-22 00:20 UTC by Frank Ybanez
Modified: 2010-09-22 07:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-22 07:24:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Ybanez 2010-09-22 00:20:08 UTC
Summary:

SELinux is preventing /usr/bin/c2s "getattr" access on
/etc/selinux/targeted/contexts/files/file_contexts.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by c2s. It is not expected that this access is
required by c2s 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                system_u:system_r:jabberd_t:s0
Target Context                unconfined_u:object_r:file_context_t:s0
Target Objects                /etc/selinux/targeted/contexts/files/file_contexts
                              [ file ]
Source                        c2s
Source Path                   /usr/bin/c2s
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           jabberd-2.2.8-5.fc12
Target RPM Packages           selinux-policy-targeted-3.7.19-54.fc13
Policy RPM                    selinux-policy-3.7.19-54.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.7-56.fc13.i686.PAE #1 SMP
                              Wed Sep 15 03:27:15 UTC 2010 i686 i686
Alert Count                   3
First Seen                    Tue 21 Sep 2010 02:11:23 PM MST
Last Seen                     Tue 21 Sep 2010 05:12:07 PM MST
Local ID                      5f94b49f-db38-4c41-8857-033174734135
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285114327.917:56): avc:  denied  { getattr } for  pid=1477 comm="c2s" path="/etc/selinux/targeted/contexts/files/file_contexts" dev=dm-0 ino=3280149 scontext=system_u:system_r:jabberd_t:s0 tcontext=unconfined_u:object_r:file_context_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1285114327.917:56): arch=40000003 syscall=197 success=yes exit=0 a0=8 a1=bff93c30 a2=297ff4 a3=8e0f618 items=0 ppid=1 pid=1477 auid=4294967295 uid=488 gid=476 euid=488 suid=488 fsuid=488 egid=476 sgid=476 fsgid=476 tty=(none) ses=4294967295 comm="c2s" exe="/usr/bin/c2s" subj=system_u:system_r:jabberd_t:s0 key=(null)



Hash String generated from  catchall,c2s,jabberd_t,file_context_t,file,getattr
audit2allow suggests:

#============= jabberd_t ==============
allow jabberd_t file_context_t:file getattr;

Comment 1 Miroslav Grepl 2010-09-22 07:24:25 UTC

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


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