Bug 2483765 - SELinux is preventing vncsession from 'getattr' accesses on the filesystem /.
Summary: SELinux is preventing vncsession from 'getattr' accesses on the filesystem /.
Keywords:
Status: CLOSED DUPLICATE of bug 2417368
Alias: None
Product: Fedora
Classification: Fedora
Component: tigervnc
Version: 44
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1a45581b4669568169ac57f7a68...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-01 15:48 UTC by Steve
Modified: 2026-06-02 03:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-06-02 03:55:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.88 KB, text/plain)
2026-06-01 15:48 UTC, Steve
no flags Details
File: os_info (647 bytes, text/plain)
2026-06-01 15:48 UTC, Steve
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2483760 0 unspecified CLOSED SELinux is preventing sshd-session from 'name_connect' accesses on the tcp_socket port 5900. 2026-09-25 09:58:47 UTC

Internal Links: 2483760

Description Steve 2026-06-01 15:48:48 UTC
Description of problem:
==
This occurred with Bug 2483760.
SELinux is preventing vncsession from 'getattr' accesses on the filesystem /.

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

If you believe that vncsession should be allowed getattr access on the  filesystem 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 'vncsession' --raw | audit2allow -M my-vncsession
# semodule -X 300 -i my-vncsession.pp

Additional Information:
Source Context                system_u:system_r:vnc_session_t:s0
Target Context                system_u:object_r:pidfs_t:s0
Target Objects                / [ filesystem ]
Source                        vncsession
Source Path                   vncsession
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.1-1.fc44.noarch
Local Policy RPM              tigervnc-selinux-1.16.2-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 7.0.10-201.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed May 27 13:57:41 UTC 2026
                              x86_64
Alert Count                   2
First Seen                    2026-06-01 08:19:32 PDT
Last Seen                     2026-06-01 08:19:32 PDT
Local ID                      b8bed822-be7a-4e28-9e46-5256f3998273

Raw Audit Messages
type=AVC msg=audit(1780327172.149:303): avc:  denied  { getattr } for  pid=2231 comm="vncsession" name="/" dev="pidfs" ino=1 scontext=system_u:system_r:vnc_session_t:s0 tcontext=system_u:object_r:pidfs_t:s0 tclass=filesystem permissive=0


Hash: vncsession,vnc_session_t,pidfs_t,filesystem,getattr

Version-Release number of selected component:
selinux-policy-targeted-44.1-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
kernel:         7.0.10-201.fc44.x86_64
reason:         SELinux is preventing vncsession from 'getattr' accesses on the filesystem /.
hashmarkername: setroubleshoot
package:        selinux-policy-targeted-44.1-1.fc44.noarch
component:      tigervnc
type:           libreport
component:      tigervnc



Potential duplicate: bug 2417368

Comment 1 Steve 2026-06-01 15:48:50 UTC
Created attachment 2143755 [details]
File: description

Comment 2 Steve 2026-06-01 15:48:51 UTC
Created attachment 2143756 [details]
File: os_info

Comment 3 Steve 2026-06-02 03:55:48 UTC
Although this is filed against F44, it appears to be a duplicate of Bug 2417368. Reopen if you prefer.

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


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