lp:~brendan-donegan/checkbox/bug1238570
- Get this branch:
- bzr branch lp:~brendan-donegan/checkbox/bug1238570
Branch merges
- Daniel Manrique (community): Approve
- Brendan Donegan (community): Needs Resubmitting
-
Diff: 106 lines (+44/-28)2 files modifiedcheckbox-old/debian/changelog (+2/-0)
checkbox-old/scripts/network (+42/-28)
Related bugs
Related blueprints
Branch information
Recent revisions
- 2447. By Brendan Donegan
-
Refactor network script so that interfaces are reconnected even if the test fails or something else goes wrong
- 2446. By Brendan Donegan
-
scripts/network - restore other interfaces that were downed prior to running
the network test (LP: #1238570) - 2445. By Daniel Manrique
-
" checkbox-
old/plugins/ backend_ info.py: Fixes the relative path fix. We were doing os.path.realpath expansion in the wrong place, because,
due to how checkbox variables work, string substitution was happening
*after* realpathing the command's path. So first it'd be converted to an
absolute path with the %(checkbox_share) intact, and *then*
checkbox_share was being substituted by its value, thus having a double
substitution.The fix defers os.path.realpath to a point where self.command is fully
resolved and interpolated, so it constitutes an actual (either relative
or absolute) path, thus guaranteeing os.path.realpath just turns that
into an absolute path regardless.
[r=brendan-donegan] [bug=1240245][author=roadmr]" - 2444. By Sylvain Pineau
-
"automatic merge by tarmac [r=zkrynicki,
roadmr] [bug=][ author= sylvain- pineau] " - 2443. By Daniel Manrique
-
"plugins/
backend_ info: Resolve and use full path to the backend script to ensure it runs when invoked via pkexec which is unhappy with relative paths (LP: #1240245)
[r=cypressyew][bug=1240245][author=roadmr]"
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox