Bug 2354208 - SELinux is preventing gnome-remote-de from 'name_connect' accesses on the tcp_socket port 2321.
Summary: SELinux is preventing gnome-remote-de from 'name_connect' accesses on the tcp...
Keywords:
Status: CLOSED DUPLICATE of bug 2360900
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:971ce8922ef45aae0bcf3ff13e8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-21 22:55 UTC by Michael
Modified: 2025-04-22 16:56 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-22 16:56:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.01 KB, text/plain)
2025-03-21 22:55 UTC, Michael
no flags Details
File: os_info (781 bytes, text/plain)
2025-03-21 22:55 UTC, Michael
no flags Details

Description Michael 2025-03-21 22:55:02 UTC
Description of problem:
SELinux is preventing gnome-remote-de from 'name_connect' accesses on the tcp_socket port 2321.

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

If you believe that gnome-remote-de should be allowed name_connect access on the port 2321 tcp_socket 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:object_r:unreserved_port_t:s0
Target Objects                port 2321 [ tcp_socket ]
Source                        gnome-remote-de
Source Path                   gnome-remote-de
Port                          2321
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                      58f166c8-db1e-4ca8-813b-f4e5f723b870

Raw Audit Messages
type=AVC msg=audit(1742597325.567:99): avc:  denied  { name_connect } for  pid=889 comm="gnome-remote-de" dest=2321 scontext=system_u:system_r:gnome_remote_desktop_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket permissive=1


Hash: gnome-remote-de,gnome_remote_desktop_t,unreserved_port_t,tcp_socket,name_connect

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 'name_connect' accesses on the tcp_socket port 2321.
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:55:04 UTC
Created attachment 2081311 [details]
File: description

Comment 2 Michael 2025-03-21 22:55:06 UTC
Created attachment 2081312 [details]
File: os_info

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

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


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