Bug 2357711 - SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file rocky9.
Summary: SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_fi...
Keywords:
Status: CLOSED DUPLICATE of bug 2359843
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:6333f1d7088ac0d569ca3fd25e1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-06 18:37 UTC by KsenkoLopa
Modified: 2025-04-23 11:20 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-23 11:20:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.13 KB, text/plain)
2025-04-06 18:37 UTC, KsenkoLopa
no flags Details
File: os_info (681 bytes, text/plain)
2025-04-06 18:37 UTC, KsenkoLopa
no flags Details

Description KsenkoLopa 2025-04-06 18:37:12 UTC
Description of problem:
SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file rocky9.

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

Если вы считаете, что rpc-virtqemud должно быть разрешено relabelfrom доступ к rocky9 lnk_file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
разрешить этот доступ сейчас, выполнив:
# ausearch -c 'rpc-virtqemud' --raw | audit2allow -M my-rpcvirtqemud
# semodule -X 300 -i my-rpcvirtqemud.pp

Additional Information:
Source Context                system_u:system_r:virtqemud_t:s0
Target Context                system_u:object_r:tmpfs_t:s0
Target Objects                rocky9 [ lnk_file ]
Source                        rpc-virtqemud
Source Path                   rpc-virtqemud
Port                          <Неизвестно>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.34-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.34-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.13.9-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sat Mar 29 01:29:31 UTC 2025
                              x86_64
Alert Count                   7
First Seen                    2025-04-06 22:21:11 +06
Last Seen                     2025-04-06 23:17:10 +06
Local ID                      646c5f6f-7d2e-4300-8a24-c53d9a46f3ff

Raw Audit Messages
type=AVC msg=audit(1743959830.530:504): avc:  denied  { relabelfrom } for  pid=13054 comm="rpc-virtqemud" name="rocky9" dev="tmpfs" ino=8 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=lnk_file permissive=1


Hash: rpc-virtqemud,virtqemud_t,tmpfs_t,lnk_file,relabelfrom

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file rocky9.
component:      selinux-policy
package:        selinux-policy-targeted-41.34-1.fc41.noarch
hashmarkername: setroubleshoot
kernel:         6.13.9-200.fc41.x86_64
type:           libreport
component:      selinux-policy

Comment 1 KsenkoLopa 2025-04-06 18:37:14 UTC
Created attachment 2083615 [details]
File: description

Comment 2 KsenkoLopa 2025-04-06 18:37:16 UTC
Created attachment 2083616 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-04-23 11:20:27 UTC

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


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