Bug 212408 - spamassassin gives selinux errors
Summary: spamassassin gives selinux errors
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-26 18:17 UTC by Christophe Lambin
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-11-28 20:46:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christophe Lambin 2006-10-26 18:17:25 UTC
I installed FC6 on my existing system. This was a full install, but I kept my
/home partition.  Spamassassin is now generating selinux errors:

audit(1161816171.736:4): avc:  denied  { write } for  pid=3678 comm="spamd"
name="[27642]" dev=pipefs ino=27642 context=system_u:system_r:spamd_t:s0
tcontext=system_u:system_r:unconfined_t:s0 tclass=fifo_file

and also:

audit(1161840509.171:36): avc:  denied  { getattr } for  pid=2590 comm="spamd"
name="auto-whitelist" dev=dm-1 ino=1048629 scontext=system_u:system_r:spamd_t:s0
tcontext=system_u:object_r:file_t:s0 tclass=file

audit(1161886038.960:3242): avc:  denied  { getattr } for  pid=2559 comm="spamd"
name="bayes_toks" dev=dm-1 ino=1048631 scontext=system_u:system_r:spamd_t:s0
tcontext=system_u:object_r:file_t:s0 tclass=file

I'm seeing a high level of spam now, so I suspect this is breaking some parts of
spamassassin.

Comment 1 Daniel Walsh 2006-10-26 18:56:30 UTC
Could you run restorecon -R -v /home

or whereever your home partiiton is.  THis will properly label the directory.

Comment 2 Christophe Lambin 2006-10-26 20:36:09 UTC
That seems to have fixed it. Thanks.



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