Bug 2354203

Summary: SELinux is preventing gnome-remote-de from 'getattr' accesses on the netlink_route_socket labeled gnome_remote_desktop_t.
Product: [Fedora] Fedora Reporter: Michael <michael.scheiffler>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: dwalsh, lvrabec, michael.scheiffler, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0fd36c1451f720882b6f12079a092b35021437d92c97dce9219e5695df5f2c99;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-22 16:56:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: description
none
File: os_info none

Description Michael 2025-03-21 22:52:19 UTC
Description of problem:
SELinux is preventing gnome-remote-de from 'getattr' accesses on the netlink_route_socket labeled gnome_remote_desktop_t.

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

If you believe that gnome-remote-de should be allowed getattr access on netlink_route_socket labeled gnome_remote_desktop_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'gnome-remote-de' --raw | audit2allow -M my-gnomeremotede
# semodule -X 300 -i my-gnomeremotede.pp

Additional Information:
Source Context                system_u:system_r:gnome_remote_desktop_t:s0
Target Context                system_u:system_r:gnome_remote_desktop_t:s0
Target Objects                Unknown [ netlink_route_socket ]
Source                        gnome-remote-de
Source Path                   gnome-remote-de
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.34-1.fc42.noarch
Local Policy RPM              selinux-policy-targeted-41.34-1.fc42.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.14.0-0.rc7.56.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Mar 17 13:25:24 UTC 2025
                              x86_64
Alert Count                   1
First Seen                    2025-03-21 23:48:45 CET
Last Seen                     2025-03-21 23:48:45 CET
Local ID                      5075ed14-a5b4-4069-b470-986d070c4b06

Raw Audit Messages
type=AVC msg=audit(1742597325.567:94): avc:  denied  { getattr } for  pid=889 comm="gnome-remote-de" scontext=system_u:system_r:gnome_remote_desktop_t:s0 tcontext=system_u:system_r:gnome_remote_desktop_t:s0 tclass=netlink_route_socket permissive=1


Hash: gnome-remote-de,gnome_remote_desktop_t,gnome_remote_desktop_t,netlink_route_socket,getattr

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing gnome-remote-de from 'getattr' accesses on the netlink_route_socket labeled gnome_remote_desktop_t.
package:        selinux-policy-targeted-41.34-1.fc42.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.14.0-0.rc7.56.fc42.x86_64
component:      selinux-policy

Comment 1 Michael 2025-03-21 22:52:22 UTC
Created attachment 2081301 [details]
File: description

Comment 2 Michael 2025-03-21 22:52:23 UTC
Created attachment 2081302 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-04-22 16:56:43 UTC

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