Bug 379691 - SELinux prevents /usr/sbin/postmap from being run
SELinux prevents /usr/sbin/postmap from being run
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-13 05:53 EST by Nils Philippsen
Modified: 2008-01-30 14:19 EST (History)
1 user (show)

See Also:
Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-30 14:19:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nils Philippsen 2007-11-13 05:53:05 EST
Description of problem:

SSIA

Version-Release number of selected component (if applicable):
selinux-policy-3.0.8-52.fc8
selinux-policy-targeted-3.0.8-52.fc8
postfix-2.4.5-2.fc8

How reproducible:
Always

Steps to Reproduce:

root@wombat:~> setenforce 1
root@wombat:~> postmap
-bash: /usr/sbin/postmap: Permission denied
root@wombat:~> ls -lZ /usr/sbin/postmap
-rwxr-xr-x  root root system_u:object_r:postfix_map_exec_t:s0 /usr/sbin/postmap
root@wombat:~> restorecon -v -F /usr/sbin/postmap
restorecon reset /usr/sbin/postmap context
system_u:object_r:postfix_map_exec_t:s0->system_u:object_r:postfix_map_exec_t:s0
root@wombat:~> postmap
-bash: /usr/sbin/postmap: Permission denied
root@wombat:~> setenforce 0
root@wombat:~> postmap
postmap: fatal: usage: postmap [-Nfinoprsvw] [-c config_dir] [-d key] [-q key]
[map_type:]file...
  
Actual results:
postmap can't be executed in enforcing mode

Expected results:
postmap can be executed in enforcing mode

Additional info:
I don't get any notifications via setroubleshoot about this.
Comment 1 Daniel Walsh 2007-11-13 14:39:02 EST
Fixed in selinux-policy-3.0.8-54.fc8
Comment 2 Daniel Walsh 2008-01-30 14:19:39 EST
Bulk closing all bugs in Fedora updates in the modified state.  If you bug is
not fixed, please reopen.

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