SELinux alert when running yum update
Colin Paul Adams
colin at colina.demon.co.uk
Sun Nov 30 09:01:51 UTC 2008
>>>>> "Thomas" == Thomas Cameron <thomas.cameron at camerontech.com> writes:
You can do a couple of things. First, it's probably not a bad idea to
Thomas> run these commands as root:
Thomas> restorecon -vR /home restorecon -vR /usr
OK. I've done that.
Thomas> Then try again by opening your browser and going to a page
Thomas> that caused errors before. If it still doesn't work you
I don't know of a page that caused errors before.
Thomas> can use audit2allow to create a policy. I set up all my
Thomas> policies in a directory called /root/selinux. So as root,
Thomas> do this:
Thomas> mkdir selinux cd selinux setenforce 0 # open your web
I did that too.
Thomas> browser and go to a page with the plugin grep npviewer.bin
Thomas> /var/log/audit/audit.log | audit2allow -a -M npviewer #
Thomas> review npviewer.te so make sure it looks right.
I don't know what a page with the plugin is.
Thomas> semodule -i npviewer.pp setenforce 1
semodule: Could not read file 'npviewer.pp': No such file or directory
--
Colin Adams
Preston Lancashire
More information about the users
mailing list