Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: I simply changed the power profile from Balanced to Power Saver from the drop menu on the top bar SELinux is preventing tuned-ppd from 'write' accesses on the file /etc/tuned/ppd_base_profile. ***** Plugin restorecon (99.5 confidence) suggests ************************ If you want to fix the label. /etc/tuned/ppd_base_profile default label should be tuned_rw_etc_t. Then you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly. Do # /sbin/restorecon -v /etc/tuned/ppd_base_profile ***** Plugin catchall (1.49 confidence) suggests ************************** If you believe that tuned-ppd should be allowed write access on the ppd_base_profile 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 'tuned-ppd' --raw | audit2allow -M my-tunedppd # semodule -X 300 -i my-tunedppd.pp Additional Information: Source Context system_u:system_r:tuned_ppd_t:s0 Target Context unconfined_u:object_r:tuned_etc_t:s0 Target Objects /etc/tuned/ppd_base_profile [ file ] Source tuned-ppd Source Path tuned-ppd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages tuned-2.25.1-2.fc42.noarch SELinux Policy RPM selinux-policy-targeted-41.40-1.fc42.noarch Local Policy RPM selinux-policy-targeted-41.40-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.14.6-300.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 9 20:11:19 UTC 2025 x86_64 Alert Count 3 First Seen 2025-05-20 18:23:49 +07 Last Seen 2025-05-21 09:21:02 +07 Local ID 770faa35-cb24-4afa-be6a-4d06ac4b58ed Raw Audit Messages type=AVC msg=audit(1747794062.924:286): avc: denied { write } for pid=1438 comm="tuned-ppd" name="ppd_base_profile" dev="nvme0n1p3" ino=2624884 scontext=system_u:system_r:tuned_ppd_t:s0 tcontext=unconfined_u:object_r:tuned_etc_t:s0 tclass=file permissive=1 Hash: tuned-ppd,tuned_ppd_t,tuned_etc_t,file,write Version-Release number of selected component: selinux-policy-targeted-41.40-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing tuned-ppd from 'write' accesses on the file /etc/tuned/ppd_base_profile. package: selinux-policy-targeted-41.40-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.14.6-300.fc42.x86_64 comment: I simply changed the power profile from Balanced to Power Saver from the drop menu on the top bar component: selinux-policy
Created attachment 2090960 [details] File: description
Created attachment 2090961 [details] File: os_info
Please follow the setroubleshoot plugin suggestion and relabel the file. *** This bug has been marked as a duplicate of bug 2361423 ***