<br><font size=2><tt>Daniel J Walsh <dwalsh@redhat.com> wrote on
03/30/2006 10:06:30 AM:<br>
> Michael C Thompson wrote:<br>
> ><br>
> > Hey Steve,<br>
> ><br>
> > Under the FC5 MLS policy, what is the magic incantation of SELinux
<br>
> > role and MLS range that will make auditctl go? I've tried staff_r,
<br>
> > with staff_t and SystemLow, which I did not expect to work (and
it <br>
> > didn't). I've also tried sysadm_[rt] and secadm_[rt] with both
<br>
> > SystemHigh and SystemLow. So far, no combination has lead to
auditctl <br>
> > being usable. secadm & sysadm attempts resolve in a direct
bash denial <br>
> > message, whereas staff _can_ execute audit, but I get the messages:<br>
> > "Error sending (rule/watch) list request (Permission denied)"<br>
> ><br>
> > Anyone know the magic or is this a policy bug?<br>
> ><br>
> secadm_r<br>
> <br>
> newrole -r secadm_r -l SystemHigh</tt></font>
<br>
<br><font size=2><tt>Transcript:</tt></font>
<br>
<br><font size=2><tt>-bash-3.1# newrole -r secadm_r -l SystemHigh</tt></font>
<br><font size=2><tt>Authenticating root.</tt></font>
<br><font size=2><tt>Password:</tt></font>
<br><font size=2><tt>[root@dyn94141107 ~]# auditctl -l</tt></font>
<br><font size=2><tt>bash: /sbin/auditctl: Permission denied</tt></font>
<br><font size=2><tt>[root@dyn94141107 ~]# ls -alZ /sbin/auditctl</tt></font>
<br><font size=2><tt>-rwxr-x---  root     root    
system_u:object_r:auditctl_exec_t:SystemLow /sbin/auditctl</tt></font>
<br><font size=2><tt>[root@dyn94141107 ~]# id</tt></font>
<br><font size=2><tt>uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
context=root:secadm_r:secadm_t:SystemHigh</tt></font>
<br><font size=2><tt><br>
Its clear from here this is not a DAC issue, but at this point my grasp
of the policy is lacking. My policy packages are:</tt></font>
<br><font size=2><tt>selinux-policy-2.2.23-15</tt></font>
<br><font size=2><tt>selinux-policy-targeted-2.2.23-15</tt></font>
<br><font size=2><tt>selinux-policy-mls-2.2.23-15</tt></font>
<br>
<br><font size=2><tt>Am I out of date with policy?</tt></font>
<br>
<br><font size=2><tt>Thanks,</tt></font>
<br><font size=2><tt>Mike</tt></font>