Bug 531726 - SELinux is preventing /usr/lib/cups/filter/hpcups "name_bind" access.
Summary: SELinux is preventing /usr/lib/cups/filter/hpcups "name_bind" access.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:573f2f48ac3...
: 531725 532754 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-29 10:22 UTC by Leo Canale
Modified: 2009-11-05 10:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-29 12:34:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Leo Canale 2009-10-29 10:22:15 UTC
Summary:

SELinux is preventing /usr/lib/cups/filter/hpcups "name_bind" access.

Detailed Description:

[hpcups has a permissive type (cupsd_t). This access was not denied.]

SELinux denied access requested by hpcups. It is not expected that this access
is required by hpcups and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:howl_port_t:s0
Target Objects                None [ udp_socket ]
Source                        hpcups
Source Path                   /usr/lib/cups/filter/hpcups
Port                          5353
Host                          (removed)
Source RPM Packages           hpijs-3.9.8-17.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-27.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.5-96.fc12.i686.PAE #1 SMP Fri Oct 23
                              19:39:36 EDT 2009 i686 i686
Alert Count                   2
First Seen                    Wed 28 Oct 2009 06:43:45 AM EDT
Last Seen                     Thu 29 Oct 2009 05:18:27 AM EDT
Local ID                      69a569a2-bbc0-445f-8061-efee7c5b7d0f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1256807907.988:13): avc:  denied  { name_bind } for  pid=927 comm="hpcups" src=5353 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket

node=(removed) type=SYSCALL msg=audit(1256807907.988:13): arch=40000003 syscall=102 success=yes exit=0 a0=2 a1=bfafaab0 a2=52d510 a3=59db6b items=0 ppid=921 pid=927 auid=4294967295 uid=4 gid=7 euid=4 suid=4 fsuid=4 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="hpcups" exe="/usr/lib/cups/filter/hpcups" subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-27.fc12,catchall,hpcups,cupsd_t,howl_port_t,udp_socket,name_bind
audit2allow suggests:

#============= cupsd_t ==============
allow cupsd_t howl_port_t:udp_socket name_bind;

Comment 1 Daniel Walsh 2009-10-29 12:34:37 UTC
Fixed in selinux-policy-3.6.32-36.fc12.noarch

Comment 2 Daniel Walsh 2009-10-29 12:35:28 UTC
*** Bug 531725 has been marked as a duplicate of this bug. ***

Comment 3 Tim Waugh 2009-11-05 10:13:44 UTC
*** Bug 532754 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.