Bug 238137 - SELinux blocks logwatch from access to clamav logs
SELinux blocks logwatch from access to clamav logs
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2007-04-27 09:09 EDT by Martin Poole
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2007-0544
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 11:39:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch against serefpolicy-2.4.6 to give logwatch access to clamav logs (1.15 KB, patch)
2007-04-27 09:09 EDT, Martin Poole
no flags Details | Diff

  None (edit)
Description Martin Poole 2007-04-27 09:09:49 EDT
Description of problem:

SELinux is preventing 0logwatch (logwatch_t) 'search' to clamav (clamd_var_log_t)

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. logwatch --service clamav --detail 5
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:
Comment 1 Martin Poole 2007-04-27 09:09:50 EDT
Created attachment 153619 [details]
patch against serefpolicy-2.4.6 to give logwatch access to clamav logs
Comment 2 Daniel Walsh 2007-04-27 12:06:12 EDT
Fixed in selinux-policy-2.4.6-68
Comment 3 RHEL Product and Program Management 2007-06-04 16:44:23 EDT
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
Comment 7 Eduard Benes 2007-08-23 10:38:24 EDT
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.

Comment 9 errata-xmlrpc 2007-11-07 11:39:22 EST
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.


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