Bug 636364 - SELinux is preventing /usr/bin/c2s "read" access on /etc/krb5.conf.
Summary: SELinux is preventing /usr/bin/c2s "read" access on /etc/krb5.conf.
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:2be6443e2ec...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-22 00:22 UTC by Frank Ybanez
Modified: 2010-09-22 07:25 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Frank Ybanez 2010-09-22 00:22:55 UTC
Summary:

SELinux is preventing /usr/bin/c2s "read" access on /etc/krb5.conf.

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                system_u:object_r:krb5_conf_t:s0
Target Objects                /etc/krb5.conf [ file ]
Source                        c2s
Source Path                   /usr/bin/c2s
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           jabberd-2.2.8-5.fc12
Target RPM Packages           krb5-libs-1.7.1-13.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                   6
First Seen                    Tue 21 Sep 2010 02:11:23 PM MST
Last Seen                     Tue 21 Sep 2010 05:12:07 PM MST
Local ID                      ade9f42e-28b4-4c41-96a6-b797f7d9d867
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285114327.902:48): avc:  denied  { read } for  pid=1477 comm="c2s" name="krb5.conf" dev=dm-0 ino=3276911 scontext=system_u:system_r:jabberd_t:s0 tcontext=system_u:object_r:krb5_conf_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1285114327.902:48): avc:  denied  { open } for  pid=1477 comm="c2s" name="krb5.conf" dev=dm-0 ino=3276911 scontext=system_u:system_r:jabberd_t:s0 tcontext=system_u:object_r:krb5_conf_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1285114327.902:48): arch=40000003 syscall=5 success=yes exit=8 a0=8e12f7c a1=0 a2=1b6 a3=27ae09f 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,krb5_conf_t,file,read
audit2allow suggests:

#============= jabberd_t ==============
allow jabberd_t krb5_conf_t:file { read open };

Comment 1 Miroslav Grepl 2010-09-22 07:25:48 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.