This service will be undergoing maintenance at 20:00 UTC, 2017-04-03. It is expected to last about 30 minutes
Bug 379691 - SELinux prevents /usr/sbin/postmap from being run
SELinux prevents /usr/sbin/postmap from being run
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
: Regression
Depends On:
  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:
Last Closed: 2008-01-30 14:19:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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:


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

How reproducible:

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
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]
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.