[email protected] wrote:
There's no local.te in my system. I'm running FC5. Also, there is no
such rpm or anything similar in the yum repositories. Yes,
audit2allow gave me the rules to add, two of them indeed. The problem
now is where to add them. Any idea?
I did some googling and it looks like Red Hat/Fedora has changed the way
they package the SELinux ruleset source for FC5. It looks like you need
the source RPM for selinux-policy-targeted instead of how they packaged
things for FC4 and earlier with a separate package called
selinux-policy-targeted-sources. I guess it makes sense to just move
the source to the source RPM instead of having a separate "sources"
package; just confusing for those of us who got used to doing things the
Thanks a lot for your help, I really appreciate it.
Here's a link to the source RPM but you should also be able to get it
just using your favorite flavor of yum.
This file contains:
[[email protected] ~/rpm]# rpm -qlp selinux-policy-2.2.38-1.fc5.src.rpm
I'm *guessing* you'll need to unpack serefpolicy-2.2.38.tgz in an
appropriate location and then add the local policy rules as I described
earlier. Hopefully, the link from one of the other responses will
provide enough information about how to make a custom policy for FC5
although "policygentool" sounds like a likely suspect.
Sorry about the confusion.
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce