Bug 473379

Summary: yumBackend.py hangs forever if a repo is down
Product: [Fedora] Fedora Reporter: Rudd-O DragonFear <rudd-o>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: bugs-redhat, lmacken, richard, robin.norwood, tuxbrewr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-14 13:37:55 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
what I've put into git master none

Description Rudd-O DragonFear 2008-11-28 06:55:45 UTC
Description of problem:

Open packagekit application, try to search for packages, yumbackend.py search-name none "searchstring" hangs FOREVER if a repo is down or network connectivity is flaky.

The fix is simple: set a reasonable timeout of like 10 or 15 seconds for sockets in the yumbackend.py helper.  Problem solved.

Network daemons have no business leaving desktop applications forever waiting for data.

Comment 1 Richard Hughes 2008-11-28 10:37:43 UTC
Created attachment 324963 [details]
what I've put into git master

I've put this patch into git master. Is this the sort of thing you meant?

Comment 2 Aleksander Adamowski 2009-02-25 14:04:42 UTC
See also bug 487321 (the patch from over here doesn't help with it).