[Bug 1237360] Re: Can't pause the download
Barry Warsaw
1237360 at bugs.launchpad.net
Thu Oct 10 20:20:19 UTC 2013
PauseDownload is currently no-op'd, but it should be easy to plumb this
through to the download manager. We also need to plumb the u-d-m's
paused signal through out through s-i's UpdatePaused signal. (Ideally,
system-settings would talk directly to u-d-m, but IIRC didrocks wanted
to keep things simple there and only talk to one service).
There's one tricky bit. Let's say the download is paused for longer
than 10 minutes. If that happens, system-image-dbus will exit and lose
its state (retaining state after a re-invocation is part of another bug,
but we'll see if that gets fixed before saucy, since it's complicated).
We could suspend exiting the main loop when there's a download paused,
but then we run the risk of keeping s-i-dbus alive effectively forever,
since there's no other event that would cause it to exit. If we do
that, I think we have to cancel any existing paused downloads.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1237360
Title:
Can't pause the download
Status in Ubuntu system image (server/client/updater):
In Progress
Status in “system-image” package in Ubuntu:
In Progress
Bug description:
Using the image "86":
- go to system-settings
- open the upgrade panel
- start downloading the current image
- click on the pause button
nothing happens, the download is not pause
The UI works fine with the mock.
Trying to pause with a command line call doesn't work either
"gdbus call --system -d com.canonical.SystemImage -o /Service -m com.canonical.SystemImage.PauseDownload"
that seems to indicator the issue is with the service
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-image/+bug/1237360/+subscriptions
More information about the foundations-bugs
mailing list