winbindd is running with no MCS categories and tries to access a file with c0.c0123.<br><br>Access will be granted only if winbindd runs with all the categories that has the file it wants to interact with.<br><br>Kévin<br>
<br><div class="gmail_quote">2009/7/4 Vadym Chepkov <span dir="ltr"><<a href="mailto:chepkov@yahoo.com">chepkov@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Ok, I am lost<br>
<br>
I clearly allowed this.<br>
<br>
allow winbind_t crond_t:fifo_file write;<br>
<br>
I can see it in the policy:<br>
sesearch --all --source winbind_t --target crond_t<br>
Found 3 semantic av rules:<br>
   allow winbind_t crond_t : process sigchld ;<br>
   allow winbind_t crond_t : fd use ;<br>
   allow winbind_t crond_t : fifo_file { ioctl read write getattr lock append open } ;<br>
<br>
Why do I get denial anyway?<br>
<br>
time->Sat Jul  4 10:28:01 2009<br>
type=SYSCALL msg=audit(1246717681.676:10436): arch=40000003 syscall=11 success=yes exit=0 a0=9073c10 a1=9073358 a2=90732a8 a3=9073358 items=0 ppid=20323 pid=20324 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=777 comm="winbindd" exe="/usr/sbin/winbindd" subj=system_u:system_r:winbind_t:s0 key=(null)<br>

type=AVC msg=audit(1246717681.676:10436): avc:  denied  { write } for  pid=20324 comm="winbindd" path="pipe:[611496]" dev=pipefs ino=611496 scontext=system_u:system_r:winbind_t:s0 tcontext=unconfined_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file<br>

<br>
<br>
Sincerely yours,<br>
  Vadym Chepkov<br>
<font color="#888888"><br>
--<br>
fedora-selinux-list mailing list<br>
<a href="mailto:fedora-selinux-list@redhat.com">fedora-selinux-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-selinux-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-selinux-list</a><br>
</font></blockquote></div><br>