Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 590467 - SELinux is preventing /usr/bin/gcm-apply "connectto" access on /var/run/cups/cups.sock.
Summary: SELinux is preventing /usr/bin/gcm-apply "connectto" access on /var/run/...
Status: CLOSED DUPLICATE of bug 585723
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-color-manager
Version: 13
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:626910f684f...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-09 17:16 UTC by Paul Lipps
Modified: 2010-06-15 10:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-10 18:24:01 UTC

Attachments (Terms of Use)

Description Paul Lipps 2010-05-09 17:16:07 UTC

SELinux is preventing /usr/bin/gcm-apply "connectto" access on

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by gcm-apply. It is not expected that this
access is required by gcm-apply 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
( Please file a bug

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:system_r:cupsd_t:s0-s0:c0.c1023
Target Objects                /var/run/cups/cups.sock [ unix_stream_socket ]
Source                        gcm-apply
Source Path                   /usr/bin/gcm-apply
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-color-manager-2.30.1-2.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-13.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux vbox-fedora13beta #1
                              SMP Thu May 6 18:09:49 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 09 May 2010 12:10:39 PM CDT
Last Seen                     Sun 09 May 2010 12:10:39 PM CDT
Local ID                      f8065c94-540f-4e3c-a144-0cc899d7b6f1
Line Numbers                  

Raw Audit Messages            

node=vbox-fedora13beta type=AVC msg=audit(1273425039.109:7): avc:  denied  { connectto } for  pid=1684 comm="gcm-apply" path="/var/run/cups/cups.sock" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=vbox-fedora13beta type=SYSCALL msg=audit(1273425039.109:7): arch=c000003e syscall=42 success=yes exit=4294967424 a0=f a1=17c12d8 a2=1a a3=7fff132e36c4 items=0 ppid=1 pid=1684 auid=4294967295 uid=42 gid=477 euid=42 suid=42 fsuid=42 egid=477 sgid=477 fsgid=477 tty=(none) ses=4294967295 comm="gcm-apply" exe="/usr/bin/gcm-apply" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  catchall,gcm-apply,xdm_t,cupsd_t,unix_stream_socket,connectto
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t cupsd_t:unix_stream_socket connectto;

Comment 1 Daniel Walsh 2010-05-10 18:24:01 UTC

*** This bug has been marked as a duplicate of bug 585723 ***

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