selinux AVC errors despite making a rule :(
Okay I got a server running FC6 and Plesk 8.1.1 running websites.
I do a :
grep avc /var/log/messages
to see any policies need tweaking.
I get:
Jun 28 23:29:18 server kernel: audit(1183073358.302:2368: avc: denied {link } for pid=8544 comm="in.proftpd" scontext=system_u:system_r:ftpd_t:s0 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=key
every single minute. Now I started a webcam that FTPs into the server every minute. So I thought no biggy, its in.proftpd, lets make a policy:
grep proftpd /var/log/messages | audit2allow -M proftpd selinux -i proftpd.pp
okay but i STILL get these errors every minute...
Can someone please help me?
Thanks!
begin:vcard
fn:David Cottle
n:Cottle;David
email;internet:[email protected]
title:Webmaster
version:2.1
end:vcard
Quoted 15 lines · David Cottle
Okay I got a server running FC6 and Plesk 8.1.1 running websites.
I do a :
grep avc/var/log/messages
to see any policies need tweaking.I get:
Jun 28 23:29:18 server kernel: audit(1183073358.302:2368: avc: denied {link } for pid=8544 comm="in.proftpd" scontext=system_u:system_r:ftpd_t:s0 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=key
every single minute. Now I started a webcam that FTPs into the server every minute. So I thought no biggy, its in.proftpd, lets make a policy:
Quoted 7 lines
grep proftpd
/var/log/messages| audit2allow -M proftpd selinux -i proftpd.ppokay but i STILL get these errors every minute...
Can someone please help me?
Run audit2why on the denial and see where the denial is coming from, I suspect it is because of the MLS constraints in which case you need to figure out why they are in different levels or make ftpd_t a trusted mls subject.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.