lp:~barry/ubuntu-system-image/lp1277589-udm
- Get this branch:
- bzr branch lp:~barry/ubuntu-system-image/lp1277589-udm
Branch merges
- Registry Administrators: Pending requested
-
Diff: 540 lines (+203/-16)11 files modifiedNEWS.rst (+3/-0)
systemimage/api.py (+4/-0)
systemimage/dbus.py (+35/-3)
systemimage/download.py (+35/-1)
systemimage/service.py (+2/-1)
systemimage/testing/controller.py (+6/-2)
systemimage/testing/helpers.py (+8/-5)
systemimage/testing/nose.py (+10/-1)
systemimage/tests/data/config_03.ini (+1/-1)
systemimage/tests/data/index_24.json (+36/-0)
systemimage/tests/test_dbus.py (+63/-2)
Related bugs
Bug #1277589: Better protection against concurrent access | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 236. By Barry Warsaw
-
* Default release_checking to None for the manual download case.
* Allow nose tests to provide -L option to specify an explicit log file
destination path. This greatly improves debugging. - 235. By Barry Warsaw
-
* Add a useful repr to the Mediator class so that you can tell in the logs
when a new mediator or state machine is created.
* Add some useful debugging to the DBus service.
* Fiddle with the checking lock release so that it's actually released at the
right time (hopefully). - 234. By Barry Warsaw
-
* Request ubuntu-
download- manager to download all files to temporary
destinations, then atomically rename them into place. This avoids
clobbering by multiple processes and mimic changes coming in u-d-m. - 233. By Barry Warsaw
-
* Return the empty string from `ApplyUpdate()` D-Bus method. This restores
the original API (patch merged from Ubuntu package, given by Didier
Roche). (LP: #1260768) - 232. By Barry Warsaw
-
* Better protection against several possible race conditions during
`CheckForUpdate()` (LP: #1277589)
- Use a threading.Lock instance as the internal "checking for update"
barrier instead of a boolean. This should eliminate the race window
between testing and acquiring the checking lock.
- Put an exclusive claim on the `com.canonical.SystemImage` system dbus
name, and if we cannot get that claim, exit with an error code 2. This
prevents multiple instances of the D-Bus system service from running at
the same time. - 231. By Barry Warsaw
-
Merge branch:
* Internal improvements to SignatureError for better debugging. (LP: #1279056)
- 229. By Barry Warsaw
-
* MANIFEST.in: Make sure the .bzr directory doesn't end up in the
sdist tarball.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~registry/ubuntu-system-image/client