dbus call needed to set multiple environment variables in a single pass
Bug #1324096 reported by
Steve Langasek
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Fix Released
|
High
|
James Hunt |
Bug Description
Currently, app launching on the Ubuntu phone involves setting multiple environment variables with the SetEnv dbus call. The GetEnv call only takes one variable (key,value) at a time. As a result, the marshalling of the individual calls (and waiting for upstart's response) is reported to have a measurable impact on application startup time.
We should investigate having a dbus call that allows setting multiple environment variables at once, to reduce this overhead.
Related branches
lp://staging/~jamesodhunt/upstart/bug-1324096
- Dimitri John Ledkov (community): Approve
-
Diff: 1394 lines (+986/-145) (has conflicts)7 files modifiedChangeLog (+37/-0)
dbus/com.ubuntu.Upstart.xml (+13/-0)
init/control.c (+188/-105)
init/control.h (+13/-0)
util/initctl.c (+8/-14)
util/man/initctl.8 (+8/-7)
util/tests/test_initctl.c (+719/-19)
Changed in upstart (Ubuntu): | |
assignee: | nobody → James Hunt (jamesodhunt) |
importance: | Undecided → High |
milestone: | none → ubuntu-14.07 |
status: | New → Triaged |
Changed in upstart (Ubuntu): | |
status: | Triaged → In Progress |
Changed in upstart (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.