Bug 442166 - PK is too quick to assume network down after resume
Summary: PK is too quick to assume network down after resume
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-12 10:21 UTC by Adam Huffman
Modified: 2008-05-06 09:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-06 09:39:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
what i've added into git (728 bytes, patch)
2008-04-17 16:06 UTC, Richard Hughes
no flags Details | Diff

Description Adam Huffman 2008-04-12 10:21:26 UTC
Description of problem:
When I resume my laptop from suspend-to-RAM, it takes about half a minute for
NetworkManager to reconnect to my wireless network.  During this period I see a
message from PackageKit saying that it can't connect to one of my repositories.
 I think PackageKit shouldn't be so quick to assume that the network is down.

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

PackageKit-0.1.11-1.fc9.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Richard Hughes 2008-04-12 12:28:18 UTC
How long should it wait? Should it explicitly wait for NetworkManager to come
back up, or just increase the timeout to something like two minutes?

Comment 2 Adam Huffman 2008-04-12 12:52:06 UTC
I think the ideal would be to wait for NetworkManager to report an active
connection, though obviously it would be simpler to increase the timeout.

It does seem that with some routers reassociation takes quite a long time.

Comment 3 Richard Hughes 2008-04-17 16:06:56 UTC
Created attachment 302762 [details]
what i've added into git

I've added this into upstream, which should fix your bug. Do you want me to
build this as an update for F9?

Comment 4 Adam Huffman 2008-04-18 12:55:18 UTC
That would be useful, yes.

Comment 5 Richard Hughes 2008-04-18 13:58:40 UTC
Pushed to stable, will showup in rawhide when I build the next snapshot.


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