Bug 2343444 - SELinux is preventing rpc-virtqemud from 'getattr' accesses on the cartella /dev/binderfs.
Summary: SELinux is preventing rpc-virtqemud from 'getattr' accesses on the cartella /...
Keywords:
Status: CLOSED DUPLICATE of bug 2327878
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:9cb0c8113fd8c33f59497d3b9b0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-03 00:28 UTC by Sfrg
Modified: 2025-05-06 06:27 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-06 06:27:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.00 KB, text/plain)
2025-02-03 00:28 UTC, Sfrg
no flags Details
File: os_info (719 bytes, text/plain)
2025-02-03 00:29 UTC, Sfrg
no flags Details

Description Sfrg 2025-02-03 00:28:57 UTC
Description of problem:
Open guest windows vm in virtio
SELinux is preventing rpc-virtqemud from 'getattr' accesses on the cartella /dev/binderfs.

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

Se si ritiene che a rpc-virtqemud debba essere consentito l'accesso getattr su directory binderfs per impostazione predefinita.
Then si dovrebbe segnalare il problema come bug.
È possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per ora eseguendo:
# ausearch -c 'rpc-virtqemud' --raw | audit2allow -M my-$MODULE_NOME
# semodule -X 300 -i mio-rpcvirtqemud.pp

Additional Information:
Source Context                system_u:system_r:virtqemud_t:s0
Target Context                system_u:object_r:binderfs_t:s0
Target Objects                /dev/binderfs [ dir ]
Source                        rpc-virtqemud
Source Path                   rpc-virtqemud
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.28-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.28-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.12.10-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Jan 17 18:05:24 UTC 2025
                              x86_64
Alert Count                   7
First Seen                    2024-08-05 21:14:19 CEST
Last Seen                     2025-02-03 01:19:21 CET
Local ID                      f61c84aa-157a-4fdc-994b-7334740d4d7a

Raw Audit Messages
type=AVC msg=audit(1738541961.39:875): avc:  denied  { getattr } for  pid=40259 comm="rpc-virtqemud" path="/dev/binderfs" dev="binder" ino=1 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:binderfs_t:s0 tclass=dir permissive=1


Hash: rpc-virtqemud,virtqemud_t,binderfs_t,dir,getattr

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing rpc-virtqemud from 'getattr' accesses on the cartella /dev/binderfs.
package:        selinux-policy-targeted-41.28-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.12.10-200.fc41.x86_64
comment:        Open guest windows vm in virtio
component:      selinux-policy

Comment 1 Sfrg 2025-02-03 00:28:59 UTC
Created attachment 2074923 [details]
File: description

Comment 2 Sfrg 2025-02-03 00:29:00 UTC
Created attachment 2074924 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-05-06 06:27:54 UTC

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


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