Re: SELinux alert when running yum update

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

 



>>>>> "Thomas" == Thomas Cameron <thomas.cameron@xxxxxxxxxxxxxxx> 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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux