Here is an SELinux policy module to support the smf-*
packages here.
It extends the milter
policy that is present in Fedora 9
and Red Hat Enterprise Linux 5 onwards.
Create a directory /root/selinux.local
and copy the policy files from here into that directory.
Then build and install the modules (you'll need the make
and checkpolicy
packages installed first,
plus selinux-policy-devel
for distributions that do not include it in the main selinux-policy
package).
# cd /root/selinux.local # chcon -R -t usr_t . # ln -s /usr/share/selinux/devel/Makefile . # make # semodule -i smfs.pp
If you have already installed the smf-sav
or smf-spf
packages, you'll need to fix up the file contexts:
# restorecon -rvF $(rpm -ql smf-sav) # restorecon -rvF $(rpm -ql smf-spf)
Paul Howarth <paul@city-fan.org>
Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
smfs.fc | 2012-07-03 16:24 | 229 | ||
smfs.te | 2012-07-03 16:24 | 801 | ||
smfs.if | 2012-07-03 16:24 | 1.0K | ||