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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux