Hide Forgot
Description of problem: SELinux is preventing spice-vdagent from 'getattr' accesses on the chr_file /dev/vport0p1. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that spice-vdagent should be allowed getattr access on the vport0p1 chr_file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep spice-vdagent /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:object_r:virtio_device_t:s0 Target Objects /dev/vport0p1 [ chr_file ] Source spice-vdagent Source Path spice-vdagent Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-178.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.5.0-0.rc7.git0.2.fc24.x86_64 #1 SMP Tue Mar 8 02:20:08 UTC 2016 x86_64 x86_64 Alert Count 4 First Seen 2016-03-12 11:37:13 CET Last Seen 2016-03-12 12:08:39 CET Local ID 570d31fc-2a35-4472-993b-eff0a335858e Raw Audit Messages type=AVC msg=audit(1457780919.151:287): avc: denied { getattr } for pid=1315 comm="spice-vdagent" path="/dev/vport0p1" dev="devtmpfs" ino=11403 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virtio_device_t:s0 tclass=chr_file permissive=0 Hash: spice-vdagent,xdm_t,virtio_device_t,chr_file,getattr Version-Release number of selected component: selinux-policy-3.13.1-178.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 type: libreport Potential duplicate: bug 723287