Bug 429665 - avc: denied { write } for pid=... comm="cyrus-master" name="mibs"
Summary: avc: denied { write } for pid=... comm="cyrus-master" name="mibs"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy-targeted
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-22 10:41 UTC by Milan Zázrivec
Modified: 2008-02-26 22:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-26 22:36:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milan Zázrivec 2008-01-22 10:41:20 UTC
Description of problem:
Start of cyrus-imapd produces avc denial.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.4.6-114.el5 / RHEL5.2-Server-20080117.1

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL5.2-Server-20080117.1 including cyrus-imapd
2. /etc/init.d/cyrus-imad start
3. Watch /var/log/audit/audit.log
  
Actual results:
avc:  denied  { write } for  pid=4442 comm="cyrus-master" name="mibs" dev=dm-0
ino=14092942 scontext=root:system_r:cyrus_t:s0
tcontext=system_u:object_r:usr_t:s0 tclass=dir
type=SYSCALL msg=audit(1200996125.125:69): arch=40000003 syscall=5 success=no
exit=-13 a0=bffa825c a1=8241 a2=1b6 a3=968ff88 items=0 ppid=1 pid=4442 auid=0
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) c
omm="cyrus-master" exe="/usr/lib/cyrus-imapd/cyrus-master"
subj=root:system_r:cyrus_t:s0 key=(null)

Comment 1 Daniel Walsh 2008-02-26 22:36:14 UTC
This is a labeling problem

restorecon -R -v /usr/share/snmp

Should fix.


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