Bug 580217 - SELinux is preventing /usr/bin/gcm-apply "write" access on video0.
Summary: SELinux is preventing /usr/bin/gcm-apply "write" access on video0.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:01ccc1c54a0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-07 18:04 UTC by Tommy He
Modified: 2010-04-21 22:00 UTC (History)
3 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:00:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tommy He 2010-04-07 18:04:57 UTC
概述:

SELinux is preventing /usr/bin/gcm-apply "write" access on video0.

详细描述:

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.

允许访问:

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.

附加信息:

源上下文                  system_u:system_r:xdm_t:s0-s0:c0.c1023
目标上下文               system_u:object_r:v4l_device_t:s0
目标对象                  video0 [ chr_file ]
源                           gcm-apply
源路径                     /usr/bin/gcm-apply
端口                        <未知>
主机                        (removed)
源 RPM 软件包             gnome-color-manager-2.30.0-4.fc13
目标 RPM 软件包          
策略 RPM                    selinux-policy-3.7.16-2.fc13
启用 Selinux                True
策略类型                  targeted
Enforcing 模式              Enforcing
插件名称                  catchall
主机名                     (removed)
平台                        Linux (removed)
                              2.6.33.1-19.fc13.i686.PAE #1 SMP Sat Mar 20
                              02:15:28 UTC 2010 i686 i686
警报计数                  4
第一个                     2010年04月04日 星期日 10时50分29秒
最后一个                  2010年04月07日 星期三 19时03分46秒
本地 ID                     9327e85c-0dc8-4b70-a0bb-3b2cacf2389d
行号                        

原始核查信息            

node=(removed) type=AVC msg=audit(1270663426.266:22504): avc:  denied  { write } for  pid=11648 comm="gcm-apply" name="video0" dev=devtmpfs ino=9116 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file

node=(removed) type=SYSCALL msg=audit(1270663426.266:22504): arch=40000003 syscall=5 success=no exit=-13 a0=bfc4106c a1=2 a2=0 a3=9b5377 items=0 ppid=1 pid=11648 auid=4294967295 uid=42 gid=479 euid=42 suid=42 fsuid=42 egid=479 sgid=479 fsgid=479 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,v4l_device_t,chr_file,write
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t v4l_device_t:chr_file write;

Comment 1 Daniel Walsh 2010-04-07 18:33:49 UTC
Fixed in selinux-policy-3.7.18-1.fc13.noarch

Comment 2 Fedora Update System 2010-04-19 02:41:05 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:17 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:17 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.