Bug 429665 - avc: denied { write } for pid=... comm="cyrus-master" name="mibs"
avc: denied { write } for pid=... comm="cyrus-master" name="mibs"
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy-targeted (Show other bugs)
All Linux
low Severity low
: rc
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2008-01-22 05:41 EST by Milan Zázrivec
Modified: 2008-02-26 17:36 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-26 17:36:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Milan Zázrivec 2008-01-22 05:41:20 EST
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:

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 17:36:14 EST
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.