Bug 557783 - sendmail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
Summary: sendmail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
Keywords:
Status: CLOSED DUPLICATE of bug 553492
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy-targeted
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-22 15:17 UTC by Robert Scheck
Modified: 2010-01-22 15:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-22 15:49:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2010-01-22 15:17:46 UTC
Description of problem:
Since updating to selinux-policy-targeted-2.4.6-255.el5_4.3, sending e-mails
via mutt (calls /usr/sbin/sendmail) doesn't any longer work. This also affects
logwatch (that means no more logwatch mails) etc.

[root@tux ~]# getenforce
Enforcing
[root@tux ~]# date | mutt root@localhost
Error sending message, child exited 69 (Service unavailable.).
Segmentation fault
[root@tux ~]# setenforce 0
[root@tux ~]# getenforce 
Permissive
[root@tux ~]# date | mutt root@localhost
[root@tux ~]# echo $?
0
[root@tux ~]# setenforce 1
[root@tux ~]# getenforce 
Enforcing
[root@tux ~]# date | mutt root@localhost
Error sending message, child exited 69 (Service unavailable.).
Segmentation fault
[root@tux ~]# echo $?
139
[root@tux ~]#

--- snipp ---
Jan 22 16:08:01 tux postfix/sendmail[2209]: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
Jan 22 16:08:01 tux postfix/sendmail[2209]: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
--- snipp ---

[root@tux ~]# cat /var/log/audit/audit.log | audit2allow 


#============= postfix_postdrop_t ==============
allow postfix_postdrop_t tmp_t:file { getattr append };
[root@tux ~]#

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.4.6-255.el5_4.1
selinux-policy-targeted-2.4.6-255.el5_4.3

How reproducible:
Everytime, see above.

Actual results:
sendmail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success

Expected results:
Working stuff like with selinux-policy-targeted-2.4.6-255.el5_4.1 and before.

Comment 1 Daniel Walsh 2010-01-22 15:29:10 UTC
I think selinux-policy-targeted-2.4.6-255.el5_4.4

Has been pushed to fix this issue.

Comment 2 Miroslav Grepl 2010-01-22 15:49:56 UTC
Yes.

https://bugzilla.redhat.com/show_bug.cgi?id=555793

*** This bug has been marked as a duplicate of bug 553492 ***


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