Bug 2360121 - SELinux is preventing tuned-ppd from 'watch_reads' accesses on the directory /sys/firmware/acpi.
Summary: SELinux is preventing tuned-ppd from 'watch_reads' accesses on the directory ...
Keywords:
Status: CLOSED DUPLICATE of bug 2358952
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 41
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:91e85add245c5f393f16ce90abb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 12:55 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2025-04-16 14:44 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-16 14:44:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.89 KB, text/plain)
2025-04-16 12:55 UTC, Dominik 'Rathann' Mierzejewski
no flags Details
File: os_info (754 bytes, text/plain)
2025-04-16 12:55 UTC, Dominik 'Rathann' Mierzejewski
no flags Details

Description Dominik 'Rathann' Mierzejewski 2025-04-16 12:55:47 UTC
Description of problem:
This appeared after reboot.
SELinux is preventing tuned-ppd from 'watch_reads' accesses on the directory /sys/firmware/acpi.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that tuned-ppd should be allowed watch_reads access on the acpi directory 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                system_u:object_r:sysfs_t:s0
Target Objects                /sys/firmware/acpi [ dir ]
Source                        tuned-ppd
Source Path                   tuned-ppd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.36-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.36-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.13.10-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Apr 7 19:01:38 UTC 2025 x86_64
Alert Count                   3
First Seen                    2025-04-15 11:32:29 CEST
Last Seen                     2025-04-16 13:11:45 CEST
Local ID                      67504f0b-7b7d-464d-b11e-57730f395cbd

Raw Audit Messages
type=AVC msg=audit(1744801905.776:140): avc:  denied  { watch_reads } for  pid=1761 comm="tuned-ppd" path="/sys/firmware/acpi" dev="sysfs" ino=3288 scontext=system_u:system_r:tuned_ppd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir permissive=1


Hash: tuned-ppd,tuned_ppd_t,sysfs_t,dir,watch_reads

Version-Release number of selected component:
selinux-policy-targeted-41.36-1.fc41.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing tuned-ppd from 'watch_reads' accesses on the directory /sys/firmware/acpi.
package:        selinux-policy-targeted-41.36-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.13.10-200.fc41.x86_64
comment:        This appeared after reboot.
component:      selinux-policy

Comment 1 Dominik 'Rathann' Mierzejewski 2025-04-16 12:55:49 UTC
Created attachment 2085153 [details]
File: description

Comment 2 Dominik 'Rathann' Mierzejewski 2025-04-16 12:55:51 UTC
Created attachment 2085154 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-04-16 14:44:54 UTC

*** This bug has been marked as a duplicate of bug 2358952 ***


Note You need to log in before you can comment on or make changes to this bug.