Bug 2283716 - SELinux is preventing rpc-virtnetwork from 'search' accesses on the carpeta 3391.
Summary: SELinux is preventing rpc-virtnetwork from 'search' accesses on the carpeta 3...
Keywords:
Status: CLOSED DUPLICATE of bug 2293199
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 40
Hardware: x86_64
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8b3f6c7a41794ab9a6d7db0d313...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-29 01:33 UTC by Alex Villacís Lasso
Modified: 2024-11-18 16:07 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-18 16:07:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.97 KB, text/plain)
2024-05-29 01:33 UTC, Alex Villacís Lasso
no flags Details
File: os_info (734 bytes, text/plain)
2024-05-29 01:33 UTC, Alex Villacís Lasso
no flags Details

Description Alex Villacís Lasso 2024-05-29 01:33:08 UTC
Description of problem:
Started Virtual Machine Manager and attempted to start a LXC virtual machine
SELinux is preventing rpc-virtnetwork from 'search' accesses on the carpeta 3391.

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

Si cree que de manera predeterminada se debería permitir a rpc-virtnetwork el acceso search sobre  3391 directory.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'rpc-virtnetwork' --raw | audit2allow -M mi-rpcvirtnetwork
# semodule -X 300 -i mi-rpcvirtnetwork.pp

Additional Information:
Source Context                system_u:system_r:virtnetworkd_t:s0
Target Context                system_u:system_r:virtd_lxc_t:s0
Target Objects                3391 [ dir ]
Source                        rpc-virtnetwork
Source Path                   rpc-virtnetwork
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-40.20-1.fc40.noarch
Local Policy RPM              selinux-policy-targeted-40.20-1.fc40.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.8.10-300.fc40.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri May 17 21:20:54 UTC 2024
                              x86_64
Alert Count                   14
First Seen                    2024-05-28 20:15:46 -05
Last Seen                     2024-05-28 20:31:01 -05
Local ID                      587171fe-4432-4d8c-8cf6-a2ccefd9156a

Raw Audit Messages
type=AVC msg=audit(1716946261.480:373): avc:  denied  { search } for  pid=3907 comm="prio-rpc-virtne" name="3391" dev="proc" ino=23495 scontext=system_u:system_r:virtnetworkd_t:s0 tcontext=system_u:system_r:virtd_lxc_t:s0 tclass=dir permissive=0


Hash: rpc-virtnetwork,virtnetworkd_t,virtd_lxc_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-40.20-1.fc40.noarch

Additional info:
reporter:       libreport-2.17.15
hashmarkername: setroubleshoot
reason:         SELinux is preventing rpc-virtnetwork from 'search' accesses on the carpeta 3391.
component:      selinux-policy
comment:        Started Virtual Machine Manager and attempted to start a LXC virtual machine
kernel:         6.8.10-300.fc40.x86_64
type:           libreport
package:        selinux-policy-targeted-40.20-1.fc40.noarch
component:      selinux-policy

Comment 1 Alex Villacís Lasso 2024-05-29 01:33:12 UTC
Created attachment 2035507 [details]
File: description

Comment 2 Alex Villacís Lasso 2024-05-29 01:33:13 UTC
Created attachment 2035508 [details]
File: os_info

Comment 3 Zdenek Pytela 2024-11-18 16:07:12 UTC

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


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