SELinux Coloring book?
Timothy Murphy
gayleard at eircom.net
Fri Nov 15 12:22:51 UTC 2013
Daniel J Walsh wrote:
> I thought I'd try to move from SELinux permissive mode following the
>>>> advice in this video and slides.
>> The response started with 11 AVC's, which all concerned the same file,
>> this being a sample:
>>
>> **** Invalid AVC allowed in current policy ***
>>
>> type=AVC msg=audit(1330438567.88:108452): avc: denied { getattr } for
>> pid=2567 comm="config" path="/etc/dovecot/dovecot.conf" dev=sdb10
>> ino=3392618 scontext=unconfined_u:system_r:dovecot_t:s0
>> tcontext=system_u:object_r:usr_t:s0 tclass=file
>>
>> found 11 alerts in /var/log/audit/audit.log
>>
>> Then there was a much longer portion going over different files, giving
>> terse advice of what to do in many cases, but also vague advice of the
>> kind above in other cases.
>>
> Looks like you had a mislabeled file in /etc. Did it suggest restorecon
> as its #1 option?
>
> restorecon -R -v /etc/dovecot
Thanks for the response.
I didn't explain myself very well.
The problem with dovecot.conf did not cause any difficulty,
I ran restorecon as was suggested.
The difficulty arose with cases where I had to choose a FILETYPE
from dozens of choices.
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin 2, Ireland
More information about the users
mailing list