Bug 485107 - Cannot execute spamc from procmail
Summary: Cannot execute spamc from procmail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.2
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-11 16:41 UTC by Orion Poplawski
Modified: 2012-10-03 14:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 07:59:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1242 0 normal SHIPPED_LIVE selinux-policy bug fix update 2009-09-01 08:32:34 UTC

Description Orion Poplawski 2009-02-11 16:41:08 UTC
Description of problem:

Testing out selinux-policy-2.4.6-209.el5.  Get the following:

type=AVC msg=audit(1234370173.618:605631): avc:  denied  { getattr } for  pid=1241 comm="sh" path="/usr/bin/spamc" dev=dm-4 ino=161416 scontext=user_u:system_r:procmail_t:s0 tcontext=system_u:object_r:spamc_exec_t:s0 tclass=file
type=AVC msg=audit(1234370217.606:605666): avc:  denied  { execute } for  pid=1291 comm="procmail" name="spamc" dev=dm-4 ino=161416 scontext=user_u:system_r:procmail_t:s0 tcontext=system_u:object_r:spamc_exec_t:s0 tclass=file
type=AVC msg=audit(1234370217.606:605666): avc:  denied  { execute_no_trans } for  pid=1291 comm="procmail" path="/usr/bin/spamc" dev=dm-4 ino=161416 scontext=user_u:system_r:procmail_t:s0 tcontext=system_u:object_r:spamc_exec_t:s0 tclass=file
type=AVC msg=audit(1234370217.606:605666): avc:  denied  { read } for  pid=1291 comm="procmail" path="/usr/bin/spamc" dev=dm-4 ino=161416 scontext=user_u:system_r:procmail_t:s0 tcontext=system_u:object_r:spamc_exec_t:s0 tclass=file

we run spamc from individual's .procmailrc files.

Comment 1 Daniel Walsh 2009-02-12 14:52:06 UTC
Fixed in selinux-policy-2.4.6-211.el5

Comment 9 Daniel Walsh 2009-04-08 16:41:00 UTC
ok i added fix in selinux-policy-2.4.6-222.el5

Comment 10 Orion Poplawski 2009-04-17 19:44:25 UTC
Confirmed.  Thanks!

Comment 13 errata-xmlrpc 2009-09-02 07:59:41 UTC
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 therefore 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-2009-1242.html


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