Re: SELinux Coloring book?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/15/2013 07:22 AM, Timothy Murphy wrote:
> 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.
> 

Yes we are trying to clean this up in a new gui, and some changes in policy.
Hopefully we can at least start sorting the list by matching the namespace.

IE If the source is httpd_t   Then the list should start with httpd_* items first.

We can also put some heuristics in such that if the type is var_log_t then
suggest httpd_log_t.  But as always patches welcome... :^)

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux