lp:~sylvain-pineau/checkbox/fix-1561821
- Get this branch:
- bzr branch lp:~sylvain-pineau/checkbox/fix-1561821
Branch merges
- Pierre Equoy: Approve
- Sylvain Pineau (community): Needs Resubmitting
-
Diff: 68 lines (+11/-4)3 files modifiedplainbox/plainbox/impl/unit/template.py (+11/-0)
providers/plainbox-provider-checkbox/jobs/input.txt.in (+0/-2)
providers/plainbox-provider-checkbox/jobs/suspend.txt.in (+0/-2)
Related bugs
Related blueprints
Branch information
Recent revisions
- 4290. By Sylvain Pineau
-
providers:checkbox: Remove {path} requirement in input jobs
As those may change if the same device is unplugged/
re-plugged
(even on the same port). - 4289. By Sylvain Pineau
-
plainbox:
unit:template: Only pass parameters actually used during instantiations In [1], we found that with the template units, if the user unplugs and replugs
input devices (mice, keyboards) before resuming a session, plainbox will crash.This is because the device path is changed, so plainbox generates a new job for
the supposedly new device, but since it's the same, it ends up using an
identical job ID, which raises an exception.Limiting the parameters to a subset that is actually being used during the
template instantiations avoids the DependencyDuplicateError exception.
Note the problem can be easily reproduced if the job definition contains
explicitly the udev {path} parameter for input devices. - 4288. By Sylvain Pineau
-
"automatic merge of lp:~sylvain-pineau/checkbox/fix-1560870/ by tarmac [r=sylvain-pineau][bug=1560870][author=
sylvain- pineau] " - 4286. By Pierre Equoy
-
"automatic merge of lp:~pierre-equoy/checkbox/fix-missing-precise-dependency-module-init-tools/ by tarmac [r=sylvain-
pineau] [bug=][ author= pierre- equoy]" - 4283. By Maciej Kisielewski
-
"automatic merge of lp:~kissiel/checkbox/fix-1560198-environ-in-launchers/ by tarmac [r=sylvain-pineau][bug=1560198][author=kissiel]"
- 4282. By Jeff Lane
-
"automatic merge of lp:~bladernr/checkbox/1560083-inconsistent-job-display-names/ by tarmac [r=bladernr,
pwlars] [bug=1560083][author=bladernr]" - 4281. By Rod Smith
-
"automatic merge of lp:~rodsmith/checkbox/fix-smart-not-running/ by tarmac [r=bladernr][bug=1560123][author=rodsmith]"
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox