Where's my policy source?

Andrew Farris fedora at andrewfarris.com
Tue Jun 15 05:48:39 UTC 2004


On Mon, 2004-06-14 at 16:20 -0400, Levine, Daniel J. wrote:
> Hey guys,
> 
> When I first installed my Fedora Core 2 (release) OS with SELinux, I
> installed most of the packages I needed, but forgot that AMD doesn't get
> installed by default.  So afterwards I found the am-utils RPM and installed
> it.  Now I get spurious amd related messages from SELinux.  I was probably
> root when I installed am-utils and chances are it didn't put the right
> contexts on the files an such.
> 
> So, I figured I needed to re-label my file system so the amd related files
> would have the correct SELinux contexts on them.  This is what it would do
> for me right?

Probably.  That is the first step to take to work things out.

> Well, so I got to /etc/security/selinux and I don't have a src directory!
> I'm pretty sure I picked Workstation Install and added various other
> packages that I thought I needed at installation time.  Am-utils is the only
> after-the-fact package I installed.
> 
> So, where is the policy source?  I'm looking in the right place right?  Now
> I do see in the SELinux getting started HOWTO that they do something like:
> make -C /etc/selinux relabel

The policy-sources package has changed, as did the other selinux
packages.  You should install the newest packages from rawhide, they
are:
selinux-policy-strict (and -sources)
selinux-policy-targeted (and -sources)
selinux-doc
libselinux

The sources will now be in the directory /etc/selinux and the config
file will also be in that tree as /etc/selinux/config rather than in
/etc/sysconfig.

-- 
Andrew Farris, CPE senior (California Polytechnic State University, SLO)
fedora at andrewfarris.com :: lordmorgul on irc.freenode.net




More information about the fedora-selinux-list mailing list