Bug 2483765

Summary: SELinux is preventing vncsession from 'getattr' accesses on the filesystem /.
Product: [Fedora] Fedora Reporter: Steve <y9t7sypezp>
Component: tigervncAssignee: Jan Grulich <jgrulich>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 44CC: jgrulich, y9t7sypezp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1a45581b4669568169ac57f7a686e2ae986634686086d1119c765b39bb30b60c;VARIANT_ID=xfce;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-02 03:55:48 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 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 ***