Bug 123269 - sendmail.postfix should be allowed to search postfix_etc_t:dir
sendmail.postfix should be allowed to search postfix_etc_t:dir
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: policy (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
: SELinux
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-05-15 03:17 EDT by Aleksey Nogin
Modified: 2007-11-30 17:10 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-05-05 11:04:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Aleksey Nogin 2004-05-15 03:17:07 EDT
Currently (policy-sources-1.11.3-3), /usr/sbin/sendmail.postfix is
marked as system_u:object_r:sendmail_exec_t which causes problems as
sendmail.postfix tries to read postfix configs, which sendmail_t is
not allowed to do. I do not see any reason why
/usr/sbin/sendmail.postfix would need to be sendmail_exec_t; I believe
it should be postfix_exec_t instead.
Comment 1 Aleksey Nogin 2004-05-15 05:00:03 EDT
On second thought, there is a reason for /usr/sbin/sendmail.postfix to
be system_u:object_r:sendmail_exec_t. Hm, in that case we need to add

allow sendmail_t postfix_etc_t:dir { search };
Comment 2 Daniel Walsh 2004-06-02 15:05:53 EDT
Fixed in selinux-policy-strict-1.13.2-7.src.rpm
Comment 3 Aleksey Nogin 2004-06-14 23:26:20 EDT
I ended up having to allow the following 3 things:

allow sendmail_t postfix_spool_t:dir { search };
allow sendmail_t postfix_etc_t:dir { search };
allow sendmail_t postfix_etc_t:file { read };
Comment 4 Rahul Sundaram 2005-09-04 20:39:13 EDT
has the above changes been added to the policy?
Comment 5 Daniel Walsh 2005-09-06 16:54:33 EDT
I am adding them now.

Missed this update.
Comment 7 Daniel Walsh 2006-05-05 11:04:09 EDT
Closing as these have been marked as modified, for a while.  Feel free to reopen
if not fixed

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