Description of problem: SELinux is preventing cat from 'getattr' accesses on the Datei /run/tlp/last_pwr. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that cat should be allowed getattr access on the last_pwr file by default. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do allow this access for now by executing: # ausearch -c 'cat' --raw | audit2allow -M my-cat # semodule -X 300 -i my-cat.pp Additional Information: Source Context system_u:system_r:tlp_t:s0 Target Context system_u:object_r:var_run_t:s0 Target Objects /run/tlp/last_pwr [ file ] Source cat Source Path cat Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.1-30.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.16.13-300.fc28.x86_64 #1 SMP Wed May 30 14:31:00 UTC 2018 x86_64 x86_64 Alert Count 1 First Seen 2018-06-03 10:30:57 CEST Last Seen 2018-06-03 10:30:57 CEST Local ID 8a34a2f3-906c-4386-a772-e1261982281f Raw Audit Messages type=AVC msg=audit(1528014657.859:209): avc: denied { getattr } for pid=1944 comm="cat" path="/run/tlp/last_pwr" dev="tmpfs" ino=32209 scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0 Hash: cat,tlp_t,var_run_t,file,getattr Version-Release number of selected component: selinux-policy-3.14.1-30.fc28.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.13-300.fc28.x86_64 type: libreport Potential duplicate: bug 1474386
*** This bug has been marked as a duplicate of bug 1586329 ***