A small patch for auditd.te
* My apologies if this is a duplicate, my first message seems to have been lost.
Below is my attempt at fixing the audit policy so that the auditd and auditctl work correctly at boot time. I tested this on the latest FC4 bits augmented with Dan's MLS policy RPM and the latest audit RPMs from David Woodhouse's repository.
Index: auditd.te
===================================================================
RCS file:
/cvsroot/selinux/nsa/selinux-usr/policy/domains/program/unused/auditd.te,v retrieving revision 1.6
diff -r1.6 auditd.te
4a5,6
Quoted 2 lines
# Some fixes by Paul Moore <[email protected]>
#
15a18
Quoted 1 line
allow
auditd_tself:process setsched;
34a38
Quoted 1 line
allow
auditctl_tinit_t:fd use;
38a43
Quoted 1 line
role
system_rtypesauditctl_t;
42a48,51
Quoted 3 lines
allow
initrc_tauditctl_exec_t:filerx_file_perms; allowinitrc_tauditd_etc_t:filer_file_perms;domain_auto_trans(initrc_t, auditctl_exec_t, auditctl_t)
Signature · 8 lines
. paul moore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [email protected] hewlett packard . (603) 884-5056 linux security -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.