Bug 473379 - yumBackend.py hangs forever if a repo is down
Summary: yumBackend.py hangs forever if a repo is down
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-28 06:55 UTC by Rudd-O DragonFear
Modified: 2009-02-25 14:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-14 13:37:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
what I've put into git master (1.00 KB, patch)
2008-11-28 10:37 UTC, Richard Hughes
no flags Details | Diff

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).


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