Bug 1271568

Summary: /usr/bin/spice-vdagent from getattr access on the chr_file /dev/vport0p1
Product: Red Hat Enterprise Linux 7 Reporter: Andrei Stepanov <astepano>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: astepano, bsanford, cfergeau, djasa, fidencio, lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-13 10:26:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1270165    
Attachments:
Description Flags
Additional debug info none

Description Andrei Stepanov 2015-10-14 09:59:16 UTC
/usr/bin/spice-vdagent from getattr access on the chr_file /dev/vport0p1

selinux-policy-3.13.1-57.el7.noarch

See attached debug info.

Comment 1 Andrei Stepanov 2015-10-14 09:59:36 UTC
Created attachment 1082767 [details]
Additional debug info

Comment 2 Milos Malik 2015-10-14 10:03:51 UTC
This bug is a duplicate of BZ#1249020.

Could you set priority / severity according to your requirements?

Comment 4 Andrei Stepanov 2015-10-14 10:54:22 UTC
I just want to mention, that I frequently see messages such as:


----
time->Wed Oct 14 12:34:08 2015
type=SYSCALL msg=audit(1444818848.224:420): arch=c000003e syscall=4 success=no exit=-13 a0=409bd0 a1=7fff4301e730 a2=7fff4301e730 a3=7fff4301e420 items=0 ppid=3833 pid=3858 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm="spice-vdagent" exe="/usr/bin/spice-vdagent" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1444818848.224:420): avc:  denied  { getattr } for  pid=3858 comm="spice-vdagent" path="/dev/vport1p2" dev="devtmpfs" ino=8236 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virtio_device_t:s0 tclass=chr_file

Comment 6 Miroslav Grepl 2015-11-13 10:26:38 UTC

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