Bug 579921 - SELinux is preventing /usr/bin/gcm-apply "search" access .
Summary: SELinux is preventing /usr/bin/gcm-apply "search" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:94bdfaff244...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-06 22:59 UTC by Eric Blake
Modified: 2010-04-21 22:01 UTC (History)
10 users (show)

Fixed In Version: selinux-policy-3.7.19-2.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-21 22:01:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Eric Blake 2010-04-06 22:59:16 UTC
Summary:

SELinux is preventing /usr/bin/gcm-apply "search" access .

Detailed Description:

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
report.

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:sysctl_dev_t:s0
Target Objects                None [ dir ]
Source                        gcm-apply
Source Path                   /usr/bin/gcm-apply
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-color-manager-2.30.0-4.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.16-2.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.1-19.fc13.i686.PAE #1
                              SMP Sat Mar 20 02:15:28 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Tue 06 Apr 2010 04:50:14 PM MDT
Last Seen                     Tue 06 Apr 2010 04:50:14 PM MDT
Local ID                      f6e06295-2cbf-4876-98a3-d99928299495
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1270594214.383:19002): avc:  denied  { search } for  pid=1525 comm="gcm-apply" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysctl_dev_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1270594214.383:19002): arch=40000003 syscall=195 success=no exit=-13 a0=349838 a1=bf94629c a2=abfff4 a3=3 items=0 ppid=1 pid=1525 auid=4294967295 uid=42 gid=474 euid=42 suid=42 fsuid=42 egid=474 sgid=474 fsgid=474 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,sysctl_dev_t,dir,search
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t sysctl_dev_t:dir search;

Comment 1 Daniel Walsh 2010-04-07 14:20:22 UTC
Fixed in selinux-policy-3.7.18-1.fc13.noarch

Comment 2 Fedora Update System 2010-04-19 02:41:27 UTC
selinux-policy-3.7.19-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-2.fc13

Comment 3 Fedora Update System 2010-04-20 13:25:40 UTC
selinux-policy-3.7.19-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-2.fc13

Comment 4 Fedora Update System 2010-04-21 21:59:41 UTC
selinux-policy-3.7.19-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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