Hello, I had security warnings by SELinux with some program trying to access my /etc/passwd and I’m not sure this is some vulnerability being exploited or regular OS behaviour.
Clicking list all alerts gave me multiple alerts that have been occurring a lot (67 times already):
Clicking details gave me this:
SELinux is preventing power-profiles- from getattr access on the file /etc/passwd.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that power-profiles- should be allowed getattr access on the passwd 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:passwd_file_t:s0
Target Objects /etc/passwd [ file ]
Source power-profiles-
Source Path power-profiles-
Port <Unknown>
Host fedora
Source RPM Packages
Target RPM Packages setup-2.15.0-28.fc44.noarch
SELinux Policy RPM selinux-policy-targeted-44.11-1.fc44.noarch
Local Policy RPM selinux-policy-targeted-44.11-1.fc44.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name fedora
Platform Linux fedora 7.2.9-201.fc44.x86_64 #1 SMP
PREEMPT_DYNAMIC Fri Oct 9 15:04:46 UTC 2026
x86_64
Alert Count 67
First Seen 2026-06-10 14:56:08 WEST
Last Seen 2026-10-18 14:00:04 WEST
Local ID 260b9828-0cde-48ae-b751-0924c3ed125f
Raw Audit Messages
type=AVC msg=audit(1792328404.637:215): avc: denied { getattr } for pid=3447 comm="power-profiles-" path="/etc/passwd" dev="nvme1n1p5" ino=527762 scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file permissive=1
Hash: power-profiles-,powerprofiles_t,passwd_file_t,file,getattr
And AI told me to run some more commands to see which exact program was using this:
➜ ~ sudo ausearch -p 3447 -ts 10/18/2026 13:59:30 -te 10/18/2026 14:00:30 -i
----
type=AVC msg=audit(10/18/2026 14:00:04.637:213) : avc: denied { read } for pid=3447 comm=power-profiles- name=passwd dev="nvme1n1p5" ino=527762 scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file permissive=1
----
type=AVC msg=audit(10/18/2026 14:00:04.637:214) : avc: denied { open } for pid=3447 comm=power-profiles- path=/etc/passwd dev="nvme1n1p5" ino=527762 scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file permissive=1
----
type=AVC msg=audit(10/18/2026 14:00:04.637:215) : avc: denied { getattr } for pid=3447 comm=power-profiles- path=/etc/passwd dev="nvme1n1p5" ino=527762 scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file permissive=1
➜ ~ ps -p 3447 -o pid,comm,args
PID COMMAND COMMAND
3447 power-profiles- /usr/libexec/power-profiles-daemon
Turns out it’s /usr/libexec/power-profiles-daemon. Is this supposed to happen?
I’m using Fedora Workstation 44 KDE flavour.
Thank you
