checkbox trusted launcher should use bash to eval local jobs commands
Bug #1185382 reported by
Sylvain Pineau
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
High
|
Sylvain Pineau |
Bug Description
I've found this error when looking at SRU results for raring:
https:/
to eval local jobs, the trusted launcher use Popen(shell=True).
It should use ['bash', '-c', 'viajob.command'] instead to avoid such issue where for instance shopt are not available with bin/sh.
Related branches
lp:~sylvain-pineau/checkbox/trusted_launcher_via_bash
- Daniel Manrique (community): Approve
-
Diff: 13 lines (+1/-2)1 file modifiedplainbox/plainbox/impl/secure/checkbox_trusted_launcher.py (+1/-2)
Changed in checkbox: | |
importance: | Undecided → High |
description: | updated |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.