Bug 2376487 - SELinux is preventing tuned-ppd from 'rename' accesses on the file tuned-ppd.log.1.
Summary: SELinux is preventing tuned-ppd from 'rename' accesses on the file tuned-ppd....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 42
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:475c15db827648eaed35509ed3b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-04 23:03 UTC by parasail_stanf
Modified: 2025-07-22 01:11 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-42.1-1.fc42
Clone Of:
Environment:
Last Closed: 2025-07-22 01:11:48 UTC
Type: ---
Embargoed:
zpytela: mirror+


Attachments (Terms of Use)
File: description (1.91 KB, text/plain)
2025-07-04 23:03 UTC, parasail_stanf
no flags Details
File: os_info (754 bytes, text/plain)
2025-07-04 23:03 UTC, parasail_stanf
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 2762 0 None open Allow tuned-ppd manage tuned log files 2025-07-07 15:05:12 UTC
Red Hat Issue Tracker FC-1778 0 None None None 2025-07-07 15:06:36 UTC

Description parasail_stanf 2025-07-04 23:03:05 UTC
Description of problem:
SELinux is preventing tuned-ppd from 'rename' accesses on the file tuned-ppd.log.1.

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

If you believe that tuned-ppd should be allowed rename access on the tuned-ppd.log.1 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                system_u:object_r:tuned_log_t:s0
Target Objects                tuned-ppd.log.1 [ file ]
Source                        tuned-ppd
Source Path                   tuned-ppd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.44-1.fc42.noarch
Local Policy RPM              selinux-policy-targeted-41.44-1.fc42.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.15.4-200.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Jun 27 15:32:46 UTC 2025
                              x86_64
Alert Count                   1
First Seen                    2025-07-04 15:33:19 PDT
Last Seen                     2025-07-04 15:33:19 PDT
Local ID                      9529e2d6-62fc-46fc-95c0-8f78e632ead6

Raw Audit Messages
type=AVC msg=audit(1751668399.505:282): avc:  denied  { rename } for  pid=2566 comm="tuned-ppd" name="tuned-ppd.log.1" dev="dm-0" ino=31051744 scontext=system_u:system_r:tuned_ppd_t:s0 tcontext=system_u:object_r:tuned_log_t:s0 tclass=file permissive=1


Hash: tuned-ppd,tuned_ppd_t,tuned_log_t,file,rename

Version-Release number of selected component:
selinux-policy-targeted-41.44-1.fc42.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing tuned-ppd from 'rename' accesses on the file tuned-ppd.log.1.
package:        selinux-policy-targeted-41.44-1.fc42.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.15.4-200.fc42.x86_64
component:      selinux-policy

Comment 1 parasail_stanf 2025-07-04 23:03:07 UTC
Created attachment 2096148 [details]
File: description

Comment 2 parasail_stanf 2025-07-04 23:03:08 UTC
Created attachment 2096149 [details]
File: os_info

Comment 3 Fedora Update System 2025-07-15 14:58:42 UTC
FEDORA-2025-42c191342a (selinux-policy-42.1-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-42c191342a

Comment 4 Fedora Update System 2025-07-16 01:40:49 UTC
FEDORA-2025-42c191342a has been pushed to the Fedora 42 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-42c191342a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-42c191342a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-07-22 01:11:48 UTC
FEDORA-2025-42c191342a (selinux-policy-42.1-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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