Bug 413851 - postgrey policy is not working
postgrey policy is not working
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-12-06 07:55 EST by Gunnar Hilling
Modified: 2008-01-30 14:06 EST (History)
0 users

See Also:
Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-30 14:06:29 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 Gunnar Hilling 2007-12-06 07:55:10 EST
Description of problem:

postgrey is denied access to its own db-files because they are labeled as

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


How reproducible:

install postfix+postgrey, configure postfix to use postgrey-service

Steps to Reproduce:
1. install postfix, postgrey
2. configure postfix to actually use postgrey
3. postgrey will be unable to access its db-files (spool)
Actual results:

avc: denied { read } for comm=postgrey dev=dm-2
path=/var/spool/postfix/postgrey/postgrey.db pid=2945
scontext=system_u:system_r:postgrey_t:s0 tclass=file

Expected results:

no error/warning

Additional info:
Comment 1 Daniel Walsh 2007-12-06 11:07:40 EST
You can allow this for now by executing 

# audit2allow -M mypol -i /var/log/audit/audit.log 
# semodule -i mypol.pp

Fixed in selinux-policy-3.0.8-66.fc8

Comment 2 Daniel Walsh 2008-01-30 14:06:29 EST
Bulk closing a old selinux policy bugs that were in the modified state.  If the
bug is still not fixed.  Please reopen.

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