Description of problem: This seems to happen when power-profiles-daemon attempts to set the performance profile (for example, when launching a game). SELinux is preventing power-profiles- from 'write' accesses on the file energy_performance_preference. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that power-profiles- should be allowed write access on the energy_performance_preference 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 'power-profiles-' --raw | audit2allow -M my-powerprofiles # semodule -X 300 -i my-powerprofiles.pp Additional Information: Source Context system_u:system_r:powerprofiles_t:s0 Target Context system_u:object_r:sysfs_t:s0 Target Objects energy_performance_preference [ file ] Source power-profiles- Source Path power-profiles- Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.27-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.27-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.12.7-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Dec 27 17:05:33 UTC 2024 x86_64 Alert Count 3 First Seen 2024-12-29 14:56:15 CET Last Seen 2024-12-30 13:55:41 CET Local ID 20e96f94-3318-4051-b501-0a71c5c71016 Raw Audit Messages type=AVC msg=audit(1735563341.961:181): avc: denied { write } for pid=2897 comm="power-profiles-" name="energy_performance_preference" dev="sysfs" ino=23260 scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file permissive=1 Hash: power-profiles-,powerprofiles_t,sysfs_t,file,write Version-Release number of selected component: selinux-policy-targeted-41.27-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing power-profiles- from 'write' accesses on the file energy_performance_preference. package: selinux-policy-targeted-41.27-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.12.7-200.fc41.x86_64 comment: This seems to happen when power-profiles-daemon attempts to set the performance profile (for example, when launching a game). component: selinux-policy
Created attachment 2064299 [details] File: description
Created attachment 2064300 [details] File: os_info
*** Bug 2338135 has been marked as a duplicate of this bug. ***
*** Bug 2321924 has been marked as a duplicate of this bug. ***
*** Bug 2321933 has been marked as a duplicate of this bug. ***
*** Bug 2322485 has been marked as a duplicate of this bug. ***
*** Bug 2329824 has been marked as a duplicate of this bug. ***
*** Bug 2334081 has been marked as a duplicate of this bug. ***
*** Bug 2321391 has been marked as a duplicate of this bug. ***
*** Bug 2323024 has been marked as a duplicate of this bug. ***
*** Bug 2336865 has been marked as a duplicate of this bug. ***
FEDORA-2025-9da160c869 (selinux-policy-41.30-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-9da160c869
FEDORA-2025-9da160c869 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-9da160c869` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9da160c869 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-62c612355c has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-62c612355c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-62c612355c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-62c612355c (selinux-policy-41.31-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.