Bug 149286 - sendmail.postfix avc denied messages
Summary: sendmail.postfix avc denied messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-21 23:16 UTC by Stephan Borg
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 1.21.15-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-05 06:49:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephan Borg 2005-02-21 23:16:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040808 Firefox/0.9.3

Description of problem:
Using postfix and squirrelmail, I have applied a number of changes as
suggested in previous bugs (140403, 143794 and 145561) - but now I get
one single error:

Feb 22 10:06:27 spectra kernel: audit(1109027187.731:0): avc:  denied
 { execute } for  pid=5482 exe=/usr/sbin/sendmail.postfix
name=postdrop dev=dm-3 ino=49362
scontext=user_u:system_r:system_mail_t
tcontext=system_u:object_r:sbin_t tclass=file

I've applied:
rpm -ql postfix | sudo /sbin/restorecon -R -v -f - | less
and all appears restored.

ls -lZ /usr/sbin/postdrop:
-rwxr-sr-x  root     postdrop system_u:object_r:sbin_t        
/usr/sbin/postdrop

Any other suggestions?

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


How reproducible:
Always

Steps to Reproduce:
1. Send a local email via squirrelmail
2.
3.
    

Actual Results:  Feb 22 10:06:27 spectra kernel:
audit(1109027187.731:0): avc:  denied  { execute } for  pid=5482
exe=/usr/sbin/sendmail.postfix name=postdrop dev=dm-3 ino=49362
scontext=user_u:system_r:system_mail_t
tcontext=system_u:object_r:sbin_t tclass=file

and email not sent.


Expected Results:  No error and email should be sent.

Additional info:

Comment 1 Stephan Borg 2005-02-21 23:27:39 UTC
Also applied:
chcon -t system_mail_t /usr/sbin/postdrop


Comment 2 Daniel Walsh 2005-03-08 19:26:40 UTC
Should be fixed by latest policy 

selinux-policy-targeted-1.21.15-5


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