Bug 2359843 - SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file win10.
Summary: SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_fi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 42
Hardware: x86_64
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6333f1d7088ac0d569ca3fd25e1...
: 2356212 2357711 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-15 19:51 UTC by KsenkoLopa
Modified: 2025-05-07 03:21 UTC (History)
9 users (show)

Fixed In Version: selinux-policy-41.39-1.fc42
Clone Of:
Environment:
Last Closed: 2025-05-07 03:21:23 UTC
Type: ---
Embargoed:
zpytela: mirror+


Attachments (Terms of Use)
File: description (2.12 KB, text/plain)
2025-04-15 19:51 UTC, KsenkoLopa
no flags Details
File: os_info (673 bytes, text/plain)
2025-04-15 19:51 UTC, KsenkoLopa
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 2651 0 None open Allow virtqemud relabel from tmpfs lnk files 2025-04-17 14:48:29 UTC
Red Hat Issue Tracker FC-1594 0 None None None 2025-04-16 06:53:40 UTC

Description KsenkoLopa 2025-04-15 19:51:36 UTC
Description of problem:
SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file win10.

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

Если вы считаете, что rpc-virtqemud должно быть разрешено relabelfrom доступ к win10 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                win10 [ 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.36-1.fc42.noarch
Local Policy RPM              selinux-policy-targeted-41.36-1.fc42.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.14.2-300.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Apr 10 21:50:55 UTC 2025
                              x86_64
Alert Count                   2
First Seen                    2025-04-16 01:06:48 +06
Last Seen                     2025-04-16 01:13:27 +06
Local ID                      a0437491-9139-4ab0-b596-83e9172c7acc

Raw Audit Messages
type=AVC msg=audit(1744744407.650:300): avc:  denied  { relabelfrom } for  pid=9366 comm="rpc-virtqemud" name="win10" dev="tmpfs" ino=7 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.36-1.fc42.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing rpc-virtqemud from 'relabelfrom' accesses on the lnk_file win10.
component:      selinux-policy
package:        selinux-policy-targeted-41.36-1.fc42.noarch
hashmarkername: setroubleshoot
kernel:         6.14.2-300.fc42.x86_64
type:           libreport
component:      selinux-policy

Comment 1 KsenkoLopa 2025-04-15 19:51:39 UTC
Created attachment 2085082 [details]
File: description

Comment 2 KsenkoLopa 2025-04-15 19:51:41 UTC
Created attachment 2085083 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-04-23 11:20:27 UTC
*** Bug 2357711 has been marked as a duplicate of this bug. ***

Comment 4 Zdenek Pytela 2025-04-23 11:30:58 UTC
*** Bug 2356212 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2025-05-02 07:41:22 UTC
FEDORA-2025-d1510e7fa1 (selinux-policy-41.39-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d1510e7fa1

Comment 6 Fedora Update System 2025-05-03 02:50:01 UTC
FEDORA-2025-d1510e7fa1 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-d1510e7fa1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d1510e7fa1

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

Comment 7 Fedora Update System 2025-05-07 03:21:23 UTC
FEDORA-2025-d1510e7fa1 (selinux-policy-41.39-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.