Bug 723531 - jabberd generates AVC denials
Summary: jabberd generates AVC denials
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-20 13:24 UTC by Jan Pazdziora
Modified: 2011-08-02 02:04 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.9.16-35.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-02 02:04:18 UTC
Type: ---


Attachments (Terms of Use)

Description Jan Pazdziora 2011-07-20 13:24:08 UTC
Description of problem:

When jabberd is started on Fedora 15, it generates

type=AVC msg=audit(1311167750.474:423): avc:  denied  { read } for  pid=3929 comm="c2s" name="stat" dev=proc ino=4026532009 scontext=system_u:system_r:jabberd_router_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
type=AVC msg=audit(1311167750.474:423): avc:  denied  { open } for  pid=3929 comm="c2s" name="stat" dev=proc ino=4026532009 scontext=system_u:system_r:jabberd_router_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file
type=SYSCALL msg=audit(1311167750.474:423): arch=40000003 syscall=5 success=yes exit=4 a0=420746e1 a1=80000 a2=0 a3=54 items=0 ppid=1 pid=3929 auid=4294967295 uid=497 gid=493 euid=497 suid=497 fsuid=497 egid=493 sgid=493 fsgid=493 tty=(none) ses=4294967295 comm="c2s" exe="/usr/bin/c2s" subj=system_u:system_r:jabberd_router_t:s0 key=(null)

Version-Release number of selected component (if applicable):

# rpm -q jabberd selinux-policy-targeted
jabberd-2.2.14-1.fc15.i686
selinux-policy-targeted-3.9.16-34.fc15.noarch

How reproducible:

Seen once, I assume it is deterministic.

Steps to Reproduce:
1. Install and run jabberd (we do this as part of Spacewalk).
2. Observe /var/log/audit/audit.log.
  
Actual results:

The above mentioned AVC denial.

Expected results:

No AVC denial.

Additional info:

audit2allow -R says:

kernel_read_system_state(jabberd_router_t)

Comment 1 Miroslav Grepl 2011-07-20 13:40:29 UTC
Fixed in selinux-policy-3.9.16-35.fc15

Comment 2 Fedora Update System 2011-07-21 06:02:02 UTC
selinux-policy-3.9.16-35.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-35.fc15

Comment 3 Fedora Update System 2011-07-23 01:55:14 UTC
Package selinux-policy-3.9.16-35.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-35.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-35.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-08-02 02:03:46 UTC
selinux-policy-3.9.16-35.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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