[Bug 1324096] [NEW] dbus call needed to set multiple environment variables in a single pass

Steve Langasek steve.langasek at canonical.com
Wed May 28 12:14:33 UTC 2014


Public bug reported:

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.

** Affects: upstart (Ubuntu)
     Importance: High
     Assignee: James Hunt (jamesodhunt)
         Status: Triaged

** Changed in: upstart (Ubuntu)
   Importance: Undecided => High

** Changed in: upstart (Ubuntu)
       Status: New => Triaged

** Changed in: upstart (Ubuntu)
    Milestone: None => ubuntu-14.07

** Changed in: upstart (Ubuntu)
     Assignee: (unassigned) => James Hunt (jamesodhunt)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1324096

Title:
  dbus call needed to set multiple environment variables in a single
  pass

Status in “upstart” package in Ubuntu:
  Triaged

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1324096/+subscriptions



More information about the foundations-bugs mailing list