<br><br><div class="gmail_quote">On Mon, Oct 5, 2009 at 2:13 PM, Daniel J Walsh <span dir="ltr"><<a href="mailto:dwalsh@redhat.com">dwalsh@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On 10/05/2009 03:22 PM, Paolo Galtieri wrote:<br>
> On Mon, Oct 5, 2009 at 11:11 AM, Daniel J Walsh <<a href="mailto:dwalsh@redhat.com">dwalsh@redhat.com</a>> wrote:<br>
><br>
>> On 10/05/2009 02:08 PM, Jim wrote:<br>
>>> FC11/Kde<br>
>>><br>
>>> Trying to print on a Samsung CLX-3175FN.<br>
>>> Selinux is playing havoc with printer drivers, these drivers are from<br>
>>> Samsung and I'm getting many Selinux Alerts, to many to keep running<br>
>>> Restorecon.<br>
>>> The printing is coming out with double columns with 1/8" white lines<br>
>>> down through text or pictures.<br>
>>> There are no GPL drivers for this printer, it's to New !<br>
>>><br>
>>> If I disable Selinux, the printer will print normal.<br>
>>><br>
>>> How do I relabel all the files on the computer ?<br>
>>> do I relabel from telinit 3 or what ?<br>
>>><br>
>> Please show me the AVC's you are seeing.  Or send me a compresses<br>
>> /var/log/audit/audit.log<br>
>><br>
>> --<br>
>> fedora-list mailing list<br>
>> <a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>
>> To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
>> Guidelines:<br>
>> <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br>
>><br>
><br>
> I have seen the following SELinux alert:<br>
><br>
> SELinux is preventing hp (hplip_t) "name_bind" howl_port_t.<br>
><br>
> lpstat -t shows<br>
><br>
> printer HP_Color_LaserJet_2605dn disabled since Thu 01 Oct 2009 09:36:23 AM<br>
> MST -<br>
>     /usr/lib/cups/backend/hp failed<br>
><br>
> If I change the URI associated with the printer config from<br>
><br>
> hp:/net/HP_Color_laserjet_2605dn?zc=hpcolorjet<br>
><br>
> to<br>
><br>
> hp:/net/HP_Color_laserjet_2605dn?ip=192.168.10.71<br>
><br>
> then the alerts go away.<br>
><br>
> The printer is an HP printer and was configured using hp-setup.<br>
><br>
> Paolo<br>
><br>
><br>
</div></div>Could you grep for howl_port_t and attach the output<br>
<br>
grep howl_port_t /var/log/audit/audit.log<br>
<div><div></div><div class="h5"><br>
<br>
--<br>
fedora-list mailing list<br>
<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>
To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br>
</div></div></blockquote></div><br>type=AVC msg=audit(1254414474.185:50294): avc:  denied  { name_bind } for  pid=18462 comm="hp" src=5353 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket<br>
type=AVC msg=audit(1254414573.360:50295): avc:  denied  { name_bind } for  pid=18499 comm="hp" src=5353 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket<br>
type=AVC msg=audit(1254414980.894:50346): avc:  denied  { name_bind } for  pid=18699 comm="hp" src=5353 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket<br>
type=AVC msg=audit(1254415674.640:50382): avc:  denied  { name_bind } for  pid=18942 comm="hp" src=5353 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket<br>
type=AVC msg=audit(1254415783.474:50425): avc:  denied  { name_bind } for  pid=19012 comm="hp" src=5353 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket<br>
type=AVC msg=audit(1254415964.178:50441): avc:  denied  { name_bind } for  pid=19154 comm="hp" src=5353 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket<br>
<br>Paolo<br>