Bug 254102 - spamd selinux violation
spamd selinux violation
Product: Fedora
Classification: Fedora
Component: spamassassin (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Warren Togami
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-08-24 01:06 EDT by Luke Macken
Modified: 2016-09-19 22:38 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-16 22:13:31 EDT
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 Luke Macken 2007-08-24 01:06:16 EDT
Description of problem:
    SELinux is preventing the spamd from using potentially mislabeled files

Detailed Description
    SELinux has denied spamd access to potentially mislabeled file(s)
    (services).  This means that SELinux will not allow spamd to use these
    files.  It is common for users to edit files in their home directory or tmp
    directories and then move (mv) them to system directories.  The problem is
    that the files end up with the wrong file context which confined
    applications are not allowed to access.

Allowing Access
    If you want spamd to access this files, you need to relabel them using
    restorecon -v services.  You might want to relabel the entire directory
    using restorecon -R -v .

Additional Information        

Source Context                system_u:system_r:spamd_t
Target Context                user_u:object_r:rpm_script_tmp_t
Target Objects                services [ file ]
Affected RPM Packages         
Policy RPM                    selinux-policy-2.6.4-33.fc7
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.home_tmp_bad_labels
Host Name                     crow
Platform                      Linux crow #1 SMP Fri Jul 27
                              18:10:34 EDT 2007 i686 i686
Alert Count                   20
First Seen                    Fri 24 Aug 2007 01:01:02 AM EDT
Last Seen                     Fri 24 Aug 2007 01:01:48 AM EDT
Local ID                      e2c8ca03-da4c-44eb-9c71-98127ea325ea
Line Numbers                  

Raw Audit Messages            

avc: denied { read } for comm="spamd" dev=dm-0 egid=0 euid=0 exe="/usr/bin/perl"
exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="services" pid=1858
scontext=system_u:system_r:spamd_t:s0 sgid=0 subj=system_u:system_r:spamd_t:s0
suid=0 tclass=file tcontext=user_u:object_r:rpm_script_tmp_t:s0 tty=(none) uid=0

Version-Release number of selected component (if applicable):
Comment 1 Bug Zapper 2008-05-14 10:05:34 EDT
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.

Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:

The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 2 Bug Zapper 2008-06-16 22:13:30 EDT
Fedora 7 changed to end-of-life (EOL) status on June 13, 2008. 
Fedora 7 is no longer maintained, which means that it will not 
receive any further security or bug fix updates. As a result we 
are closing this bug. 

If you can reproduce this bug against a currently maintained version 
of Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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