Description of problem: Samba's web admin tool can't write to samba logs: time->Mon Aug 22 15:15:14 2011 type=SYSCALL msg=audit(1314040514.664:521): arch=c000003e syscall=2 success=no exit=-13 a0=2abeab81a940 a1=441 a2=1a4 a3=6e696b636f6c2065 items=0 ppid=22015 pid=22134 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="swat" exe="/usr/sbin/swat" subj=root:system_r:swat_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1314040514.664:521): avc: denied { write } for pid=22134 comm="swat" name="samba" dev=dm-0 ino=4751475 scontext=root:system_r:swat_t:s0-s0:c0.c1023 tcontext=system_u:object_r:samba_log_t:s0 tclass=dir ---- Version-Release number of selected component (if applicable): selinux-policy-targeted-2.4.6-316.el5.noarch Steps to Reproduce: 1.start/stop samba daemons via swat
We have this in RHEL6.
Fixed in selinux-policy-2.4.6-317.el5
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0158.html