Fix the ApplyUpdate() D-Bus API

Bug #1260768 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Fix Released
High
Barry Warsaw
system-image (Ubuntu)
Fix Released
High
Barry Warsaw
ubuntu-system-settings (Ubuntu)
Fix Committed
Medium
Unassigned

Bug Description

Bug #1260712 reports the problem where the D-Bus API for ApplyUpdate() was changed but system-settings wasn't prepared to handle the change. During post-mortem discussions, Didier requested that the Rebooting() signal sent by ApplyUpdate() be changed to return an error message string instead of a boolean, with the empty string meaning no error. This bug tracks that request.

Tags: client updates

Related branches

Barry Warsaw (barry)
Changed in system-image (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → 2.1
Barry Warsaw (barry)
tags: added: client
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-image - 2.1-0ubuntu4

---------------
system-image (2.1-0ubuntu4) trusty; urgency=medium

  [ Stéphane Graber ]
  * New upstream release.
  * Set X-Auto-Uploader to no-rewrite-version
  * Set Vcs-Bzr to the new target branch

  [ Barry Warsaw ]
  * New upstream release.
    - LP: #1279056 - Internal improvements to SignatureError for
      better debugging.
    - LP: #1277589 - Better protection against race conditions.
    - LP: #1260768 - Return empty string from ApplyUpdate D-Bus method.
    - LP: #1284217 - Send UpdateAvailableStatus during auto-downloading
      from a previous CheckForUpdate, if cached status is available.
    - Request ubuntu-download-manager to download to a temporary location,
      with atomic rename.
    - More detailed logging.
    - Fixed D-Bus error logging.
    - Added -L flag to nose2 tests for explicitly setting log file path.
    - Added SYSTEMIMAGE_DBUS_DAEMON_HUP_SLEEP_SECONDS environment variable
      which can be used to give virtualized buildds a fighting chance.
  * d/patches/01_send_ack_on_applyupdate.diff: Removed; applied upstream.
  * d/patches/lp1284217.patch: Added (see above).
  * d/control:
    - Bump Standards-Version to 3.9.5 with no other changes necessary.
    - Add python3-psutil as Depends to system-image-dev.
  * d/rules: Set SYSTEMIMAGE_DBUS_DAEMON_HUP_SLEEP_SECONDS to 1 to deal with
    buildd dbus-daemon SIGHUP timing issues.
 -- Ubuntu daily release <email address hidden> Tue, 25 Feb 2014 17:48:27 +0000

Changed in system-image (Ubuntu):
status: Triaged → Fix Released
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Fix Committed → Fix Released
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

assuming we need to use the new api

Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Diego Sarmentero (diegosarmentero)
importance: Undecided → Medium
status: New → Triaged
tags: added: updates
no longer affects: ubuntu-system-settings
Changed in ubuntu-system-settings (Ubuntu):
assignee: Diego Sarmentero (diegosarmentero) → nobody
Changed in ubuntu-system-settings (Ubuntu):
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.