Description of problem: Got this in the logs: Sep 6 12:34:42 saga kernel: audit(1157567682.363:129): avc: denied { rename } for pid=5024 comm="smbd" name="heliopsis.log" dev=dm-2 ino=95641 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:samba_log_t:s0 tclass=file Sep 6 12:34:42 saga kernel: audit(1157567682.363:130): avc: denied { unlink } for pid=5024 comm="smbd" name="heliopsis.log.old" dev=dm-2 ino=95636 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:samba_log_t:s0 tclass=file Sep 6 12:41:51 saga kernel: audit(1157568111.382:131): avc: denied { rename } for pid=5838 comm="smbd" name="heliopsis.log" dev=dm-2 ino=95461 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:samba_log_t:s0 tclass=file Sep 6 12:41:51 saga kernel: audit(1157568111.382:132): avc: denied { unlink } for pid=5838 comm="smbd" name="heliopsis.log.old" dev=dm-2 ino=95424 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:object_r:samba_log_t:s0 tclass=file Running in permissive mode. Version-Release number of selected component (if applicable): selinux-policy-2.3.7-2.fc5
Policy for samba says the following allow smbd_t samba_log_t:dir { create ra_dir_perms setattr }; dontaudit smbd_t samba_log_t:dir remove_name; allow smbd_t samba_log_t:file { create ra_file_perms }; I believe the remove_name dontaudit would have prevented the AVC messages that you see. So I would say this is the expected behaviour.