Bug 1877853

Summary: File descriptors are being left behind on logout of RHEL 8 session
Product: Red Hat Enterprise Linux 8 Reporter: Brandon Clark <brclark>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 8.2CC: akaiser, alanm, amike, brclark, casantos, Ed.Lange, hdegoede, jkoten, joboyer, jwright, mbliss, mboisver, mkolbas, modehnal, rstrode, sbarcomb, tbrunell, tpelka
Target Milestone: rcKeywords: ZStream
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gdm-3.28.3-34.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1879555 (view as bug list) Environment:
Last Closed: 2020-11-04 01:35:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1879555    
Attachments:
Description Flags
Customer reproducer none

Description Brandon Clark 2020-09-10 15:19:13 UTC
Description of problem:
   When a user logs out of a GUI session, 3 file descriptors are left behind, which do not dissipate. This, should the system not be rebooted, will inevitably lead to GDM crashing due to "Too many open files".

Version-Release number of selected component (if applicable):
gdm-3.28.3-29

How reproducible:
Consistent.

Steps to Reproduce:
1.Login and Logout a considerable number of times.
2.On default configuration, about 350 logins can cause the issue to occur.

Actual results:
3 file descriptors are left behind on logout.

Expected results:
No file descriptors are left behind on logout.

Additional Information:
Customer also had XDMCP configured on system, but confirmed it happens no matter how you login.

Comment 2 Steve Barcomb 2020-09-11 19:46:31 UTC
Created attachment 1714599 [details]
Customer reproducer

Comment 14 Michal Odehnal 2020-09-17 09:22:35 UTC
Unable to reproduce with customer reproducer with gdm-3.28.3-34.el8.x86_64 package.

Comment 17 errata-xmlrpc 2020-11-04 01:35:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: GNOME security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4451