You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Brian Z <li...@tekmonster.net> on 2007/01/01 20:09:52 UTC

fix for fedora 5 selinux?

I've seen some articles, but nothing with a specific fix.

It seems the fedora 5 selinux rules conflict with spamassassins use of 
/var/lib/spamassassin

Has anyone seen a fix for this?


Dec 31 17:40:51 nj1hqs99 spamd[16443]: logger: removing stderr method
Dec 31 17:40:51 nj1hqs99 spamd[16445]: config: cannot opendir 
/var/lib/spamassassin/3.001007: Permission denied
Dec 31 17:40:51 nj1hqs99 spamd[16445]: config: cannot opendir 
/var/lib/spamassassin/3.001007: Permission denied
Dec 31 17:40:51 nj1hqs99 spamd[16445]: spamd: server started on port 783/tcp 
(running version 3.1.7)
Dec 31 17:40:51 nj1hqs99 spamd[16445]: spamd: server pid: 16445
Dec 31 17:40:51 nj1hqs99 spamd[16445]: spamd: server successfully spawned 
child process, pid 16447
Dec 31 17:40:51 nj1hqs99 spamd[16445]: spamd: server successfully spawned 
child process, pid 16448
Dec 31 17:40:51 nj1hqs99 spamd[16445]: prefork: child states: II
Dec 31 17:43:52 nj1hqs99 spamd[16447]: spamd: connection from nj1hqs99 
[127.0.0.1] at port 36003
Dec 31 17:43:52 nj1hqs99 spamd[16447]: spamd: setuid to root succeeded
Dec 31 17:43:52 nj1hqs99 spamd[16447]: spamd: still running as root: user 
not specified with -u, not found, or set to root, falling back to nobody at 
/usr/bin/spamd line 1147, <G
EN5> line 4.
Dec 31 17:43:52 nj1hqs99 spamd[16447]: spamd: processing message 
<00...@base1.local> for root:99
Dec 31 17:43:52 nj1hqs99 spamd[16447]: bayes: locker: safe_lock: cannot 
create tmp lockfile /root/.spamassassin/bayes.lock.nj1hqs99.16447 for 
/root/.spamassassin/bayes.lock: Perm
ission denied
Dec 31 17:43:52 nj1hqs99 spamd[16447]: spamd: clean message (0.0/5.0) for 
root:99 in 0.5 seconds, 1618 bytes.
Dec 31 17:43:52 nj1hqs99 spamd[16447]: spamd: result: . 0 - 
scantime=0.5,size=1618,user=root,uid=99,required_score=5.0,rhost=nj1hqs99,raddr=127.0.0.1,rport=36003,mid=<001401c72d2
d$7e79acb0$a001a8c0@base1.local>,autolearn=failed
Dec 31 17:43:52 nj1hqs99 spamd[16445]: prefork: child states: II