Bug 2334081 - SELinux is preventing power-profiles- from 'write' accesses on the soubor scaling_governor.
Summary: SELinux is preventing power-profiles- from 'write' accesses on the soubor sca...
Keywords:
Status: CLOSED DUPLICATE of bug 2334965
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:6810b65bdde99bade85d347ed25...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-25 16:10 UTC by Matyáš Kroupa
Modified: 2025-01-27 14:09 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-27 14:09:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.01 KB, text/plain)
2024-12-25 16:10 UTC, Matyáš Kroupa
no flags Details
File: os_info (702 bytes, text/plain)
2024-12-25 16:10 UTC, Matyáš Kroupa
no flags Details

Description Matyáš Kroupa 2024-12-25 16:10:55 UTC
Description of problem:
Connecting a Thunderbolt 3 docking station to Framework 13 (Ryzen 7040).
SELinux is preventing power-profiles- from 'write' accesses on the soubor scaling_governor.

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

Pokud jste přesvědčeni, že má power-profiles- mít ve výchozím stavu přístup write na scaling_governor file.
Then měli byste tento problém nahlásit jako chybu.
Abyste přístup povolili, můžete vygenerovat lokální modul pravidel.
Do
prozatím tento přístup povolíte příkazy:
# 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                scaling_governor [ file ]
Source                        power-profiles-
Source Path                   power-profiles-
Port                          <Neznámé>
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.6-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Dec 19 21:06:34 UTC 2024
                              x86_64
Alert Count                   16
First Seen                    2024-12-25 16:58:11 CET
Last Seen                     2024-12-25 17:02:00 CET
Local ID                      5747d11e-9b64-4c99-a2a3-fe9324f8d861

Raw Audit Messages
type=AVC msg=audit(1735142520.555:551): avc:  denied  { write } for  pid=3475 comm="power-profiles-" name="scaling_governor" dev="sysfs" ino=21212 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 soubor scaling_governor.
package:        selinux-policy-targeted-41.27-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.12.6-200.fc41.x86_64
comment:        Connecting a Thunderbolt 3 docking station to Framework 13 (Ryzen 7040).
component:      selinux-policy

Comment 1 Matyáš Kroupa 2024-12-25 16:10:58 UTC
Created attachment 2063831 [details]
File: description

Comment 2 Matyáš Kroupa 2024-12-25 16:10:59 UTC
Created attachment 2063832 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-01-27 14:09:51 UTC

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


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