Daniel,
checkpolicy was the one that was missing. Sorry for not figuring it out. And thanks for
helping me out with selinux.
[olivares@localhost ~]$ rpm -qa checkpolicy
[olivares@localhost ~]$ rpm -qa selinux*
selinux-policy-targeted-2.6.4-8.fc7
selinux-policy-2.6.4-8.fc7
[root@localhost ~]# yum install checkpolicy
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
fedora 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 3.8 MB 15:16
updates 100% |=========================| 1.9 kB 00:00
primary.sqlite.bz2 100% |=========================| 95 kB 00:20
Resolving Dependencies
--> Running transaction check
---> Package checkpolicy.i386 0:2.0.2-1.fc7 set to be updated
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
checkpolicy i386 2.0.2-1.fc7 fedora 256 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 256 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): checkpolicy-2.0.2- 100% |=========================| 256 kB 00:50
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora(a)redhat.com>" from
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc <security(a)redhat.com>" from
/etc/pki/rpm-gpg/RPM-GPG-KEY
Is this ok [y/N]: y
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: checkpolicy ######################### [1/1]
Installed: checkpolicy.i386 0:2.0.2-1.fc7
Complete!
[root@localhost ~]#
[root@localhost ~]# grep insmod /var/log/audit/audit.log | audit2allow -M myinsmod
******************** IMPORTANT ***********************
To make this policy package active, execute:
semodule -i myinsmod.pp
[root@localhost ~]# semodule -i myinsmod.pp
Regards,
Antonio
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html