system-settings may not be responding to system-image D-Bus signals
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Bill Filler | ||
| | Ubuntu system image |
Undecided
|
Unassigned | ||
| | ubuntu-system-settings (Ubuntu) |
Medium
|
Jonas G. Drange | ||
Bug Description
While testing system-image 3.0.2 for vivid overlay, using the test plan here https:/
First, when using `system-image-cli --set auto_download=0`, the system-settings panel didn't notice the change in the auto_download value. At first I though it might be missing the SettingsChanged D-Bus signal, but then I realized that the signal is not sent when using system-image-cli (only when using the normal D-Bus API). system-settings would have to poll for that value. I will open a bugtask for system-image but 1) I'm not sure it's possible to send the signal from the -cli; 2) it's an odd corner case anyway because generally only developers/testers are using system-image-cli.
Second, when I invoke the manual download through system-settings, I don't see any progress. It goes from 0% to prompting to install the update, after a short wait. Please verify that system-settings is responding to the UpdateProgress signal.
Related branches
- Ken VanDine: Approve on 2016-05-06
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2016-04-25
-
Diff: 203 lines (+48/-40)2 files modifiedplugins/system-update/system_update.cpp (+39/-37)
plugins/system-update/system_update.h (+9/-3)
| Jonas G. Drange (jonas-drange) wrote : | #2 |
Maybe system-image-cli should consume a dbus API from system-
Apart from that, there's an actual bug in System Settings where if SI's dbus name changes (SI dies/restarts), we don't update our dbus proxy.
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| tags: | added: updates |
| Barry Warsaw (barry) wrote : Re: [Bug 1509022] Re: system-settings may not be responding to system-image D-Bus signals | #3 |
On Apr 11, 2016, at 11:29 AM, Jonas G. Drange wrote:
>Maybe system-image-cli should consume a dbus API from system-image-
>server?
We used to do something just like this, as an option to si-cli, but it was
never used and caused problems for the test suite, so it eventually got ripped
out.
>If not, in what other cases will the auto_download setting change remotely?
It really shouldn't. It would be possible to tweak it directly via sqlite,
but that's crazy talk. And really, it most common cases it will only get
changed via D-Bus anyway.
>Apart from that, there's an actual bug in System Settings where if SI's
>dbus name changes (SI dies/restarts), we don't update our dbus proxy.
Don't forget that si-dbus is *designed* to self-exit after a timeout, by
default 10 minutes. It gets re-D-Bus activated on demand.
| Changed in canonical-devices-system-image: | |
| milestone: | none → backlog |
| assignee: | nobody → Bill Filler (bfiller) |
| Changed in canonical-devices-system-image: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| Changed in ubuntu-system-settings (Ubuntu): | |
| assignee: | nobody → Jonas G. Drange (jonas-drange) |
| status: | Confirmed → In Progress |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → Fix Committed |
| Changed in canonical-devices-system-image: | |
| milestone: | backlog → 11 |
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
* Catch connection errors asynchronously
-- Ken VanDine <email address hidden> Mon, 23 May 2016 12:27:38 +0000
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Fix Released |


Bug task for ubuntu-system-image involves research to see if the SettingsChanged D-Bus signal can be sent when a setting is changed via system-image-cli.