Re: FC5 seliux error trying to load local policy module

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

 



On Mon, 2007-02-26 at 13:41 -0500, Mark Haney wrote:
> I have selinux running on one of my servers and followed the FAQ on FC5 
> to build a local module that allows some scripts I"ve built to run 
> correct on this server.
> 
> However I'm encountering a problem.  When I try to run semodule -i 
> local.pp I get this:
> 
> > /usr/sbin/semodule -i local.pp
> > /usr/sbin/semodule:  Could not read file 'local.pp':
> 
> I've tried adding the path to the local.pp file, but it makes no 
> difference.  Has anyone else had this problem?

Likely a permission denial (check /var/log/audit/audit.log
or /var/log/messages for avc messages); semodule not being allowed to
take input from your home directory.  Try:
	# cp local.pp /usr/share/selinux/
	# semodule -i /usr/share/selinux/local.pp

Suggest using fedora-selinux-list in the future for these kinds of
questions.

-- 
Stephen Smalley
National Security Agency

[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