Bug 590464 - SELinux is preventing /usr/bin/gcm-apply "getattr" access on /var/run/cups/cups.sock.
Summary: SELinux is preventing /usr/bin/gcm-apply "getattr" access on /var/run/cu...
Status: CLOSED DUPLICATE of bug 590465
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:7dd3ac1db52...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-09 17:14 UTC by Paul Lipps
Modified: 2010-10-30 02:45 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-09 20:00:37 UTC
Type: ---

Attachments (Terms of Use)

Description Paul Lipps 2010-05-09 17:14:04 UTC

SELinux is preventing /usr/bin/gcm-apply "getattr" 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
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:cupsd_var_run_t:s0
Target Objects                /var/run/cups/cups.sock [ sock_file ]
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 (removed) #1
                              SMP Thu May 6 18:09:49 UTC 2010 x86_64 x86_64
Alert Count                   4
First Seen                    Wed 14 Apr 2010 07:52:19 PM CDT
Last Seen                     Sun 09 May 2010 12:10:36 PM CDT
Local ID                      119c0b93-347c-43a8-a9fd-dd5f84d5d46a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1273425036.835:5): avc:  denied  { getattr } for  pid=1658 comm="gcm-apply" path="/var/run/cups/cups.sock" dev=dm-0 ino=261418 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cupsd_var_run_t:s0 tclass=sock_file

node=(removed) type=SYSCALL msg=audit(1273425036.835:5): arch=c000003e syscall=4 success=yes exit=0 a0=33ff83f8c7 a1=7fff50ec5ac0 a2=7fff50ec5ac0 a3=0 items=0 ppid=1 pid=1658 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_var_run_t,sock_file,getattr
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t cupsd_var_run_t:sock_file getattr;

Comment 1 Carl G. 2010-05-09 20:00:37 UTC

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

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