Bug 36019

Summary: seawolf leaks fd's (up2date-2.5.2-1)
Product: [Retired] Red Hat Linux Reporter: e
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: Jay Turner <jturner>
Severity: high Docs Contact:
Priority: medium    
Version: 7.1CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-05 20:09:33 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:

Description e 2001-04-16 12:52:01 UTC
in /usr/sharerhn/up2date.py CheckRpmMd5() and hasBadSignature()
in the true "if" case you need a:
       os.close(saveStdout);
       os.close(saveStderr);
on about line 955 and also line 1531
also the false case you do not close "lines".

This stuffs up a large package list download if it is interrupted
when up2date tries to verify the sig of the saved rpms.

Comment 1 Preston Brown 2001-04-16 14:53:41 UTC
seems reasonable, if not essential.


Comment 2 Adrian Likins 2001-07-06 00:34:21 UTC
This has been added in the most recent clients. The up2date errata
for up2date-2.5.4 includes this fix.