Description of problem: I added /dev/nvme0n1 to the device list for hddtemp.service. SELinux is preventing hddtemp from 'read' accesses on the blk_file nvme0n1. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that hddtemp should be allowed read access on the nvme0n1 blk_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 'hddtemp' --raw | audit2allow -M my-hddtemp # semodule -X 300 -i my-hddtemp.pp Additional Information: Source Context system_u:system_r:hddtemp_t:s0 Target Context system_u:object_r:nvme_device_t:s0 Target Objects nvme0n1 [ blk_file ] Source hddtemp Source Path hddtemp Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.2-44.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.19.13-300.fc29.x86_64 #1 SMP Sat Dec 29 22:54:28 UTC 2018 x86_64 x86_64 Alert Count 1 First Seen 2019-01-04 14:42:27 PST Last Seen 2019-01-04 14:42:27 PST Local ID 98f8e939-37aa-4251-8abc-36caf7b5849e Raw Audit Messages type=AVC msg=audit(1546641747.504:286): avc: denied { read } for pid=4310 comm="hddtemp" name="nvme0n1" dev="devtmpfs" ino=20058 scontext=system_u:system_r:hddtemp_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=blk_file permissive=0 Hash: hddtemp,hddtemp_t,nvme_device_t,blk_file,read Version-Release number of selected component: selinux-policy-3.14.2-44.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.9.7 hashmarkername: setroubleshoot kernel: 4.19.13-300.fc29.x86_64 type: libreport
selinux-policy-3.14.2-46.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6a20cfef61
selinux-policy-3.14.2-46.fc29 has been pushed to the Fedora 29 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-2019-6a20cfef61
selinux-policy-3.14.2-46.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.