Description of problem: SELinux is preventing 0logwatch (logwatch_t) 'search' to clamav (clamd_var_log_t) Version-Release number of selected component (if applicable): 2.4.6-30.el5 How reproducible: Always Steps to Reproduce: 1. logwatch --service clamav --detail 5 2. 3. Actual results: avc: denied { search } for comm="0logwatch" dev=dm-1 egid=0 euid=0 exe="/usr/bin/perl" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="clamav" pid=5583 scontext=system_u:system_r:logwatch_t:s0-s0:c0.c1023 sgid=0 subj=system_u:system_r:logwatch_t:s0-s0:c0.c1023 suid=0 tclass=dir tcontext=system_u:object_r:clamd_var_log_t:s0 tty=(none) uid=0 Expected results: no error logs Additional info:
Created attachment 153619 [details] patch against serefpolicy-2.4.6 to give logwatch access to clamav logs
Fixed in selinux-policy-2.4.6-68
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Martin, I'm not able to reproduce this bug. Could you please try the new policy available at the link below and reply whether the new packages solve your problem. Thank you. http://nest.test.redhat.com/qa/scratch/ebenes/selinux-policy/83.el5/
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0544.html