[Bug 187974] selinux denials of spamd reading files in /var/lib/spamassassin/

bugzilla at redhat.com bugzilla at redhat.com
Fri May 26 15:44:55 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: selinux denials of spamd reading files in /var/lib/spamassassin/


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187974





------- Additional Comments From paul at city-fan.org  2006-05-26 11:37 EST -------
(In reply to comment #6)
> I don't like system space being able to write to users home directories.  System
> Space is where the bad guys live.  Userspace is where the good stuff is.
> 
> As far as /var/lib:
> Is this something the fedora package changes or is this something new?  Does
> spamd need to read files in /var/lib?  Does it need to write them there? 

I use spamassassin with virtual users; in /etc/sysconfig/spamassassin I have:
SPAMDOPTIONS="-d -c -m5 -x --virtual-config-dir=/home/spamassassin/%u -H" 

I would very much like to have the user preferences/bayes files somewhere is
"system space" (/home/spamassassin isn't a real user home directory but has file
contexts as if it was). However, I couldn't figure out a suitable location to
put these files. I tried making a directory /var/spool/spamsassassin at first
but SELinux was much less happy there than where I have it now. So where
*should* I have this data to keep it in system space?

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list