Description of problem: SELinux is preventing gnome-thumbnail from read, write access on the chr_file /dev/tty2. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gnome-thumbnail should be allowed read write access on the tty2 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: # ausearch -c 'gnome-thumbnail' --raw | audit2allow -M my-gnomethumbnail # semodule -X 300 -i my-gnomethumbnail.pp Additional Information: Source Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 Target Context system_u:object_r:tty_device_t:s0 Target Objects /dev/tty2 [ chr_file ] Source gnome-thumbnail Source Path gnome-thumbnail Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM <Unknown> Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.7.5-200.fc24.x86_64 #1 SMP Mon Sep 26 21:25:47 UTC 2016 x86_64 x86_64 Alert Count 5 First Seen 2016-10-09 17:40:43 IDT Last Seen 2016-10-09 17:40:43 IDT Local ID 7717a03c-ebeb-4221-bdd3-9e7543d91423 Raw Audit Messages type=AVC msg=audit(1476024043.693:403): avc: denied { read write } for pid=27815 comm="gnome-thumbnail" path="/dev/tty2" dev="devtmpfs" ino=1043 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tty_device_t:s0 tclass=chr_file permissive=0 Hash: gnome-thumbnail,thumb_t,tty_device_t,chr_file,read,write Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.5-200.fc24.x86_64 type: libreport
Looks like a leaked file descriptor, can probably be dontaudited.
selinux-policy-3.13.1-191.19.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e035472778
selinux-policy-3.13.1-191.19.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.